aboutsummaryrefslogtreecommitdiffstats
path: root/net/ossp-sa
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-04-14 02:57:59 +0800
committerarved <arved@FreeBSD.org>2004-04-14 02:57:59 +0800
commit3d058c6b7b17874517bef11aacb00381e2ddea95 (patch)
tree74e318610f35ce2ded6a2b0c47098623ec8a1f5f /net/ossp-sa
parent000444a4057fd3d972b569f1aade65a98b7b43f3 (diff)
downloadfreebsd-ports-gnome-3d058c6b7b17874517bef11aacb00381e2ddea95.tar.gz
freebsd-ports-gnome-3d058c6b7b17874517bef11aacb00381e2ddea95.tar.zst
freebsd-ports-gnome-3d058c6b7b17874517bef11aacb00381e2ddea95.zip
Never ever redefine socklen_t. This should fix building lmtp2nntp with
external libsa (upcoming)
Diffstat (limited to 'net/ossp-sa')
-rw-r--r--net/ossp-sa/files/patch-sa.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/ossp-sa/files/patch-sa.h b/net/ossp-sa/files/patch-sa.h
new file mode 100644
index 000000000000..71cb495c0349
--- /dev/null
+++ b/net/ossp-sa/files/patch-sa.h
@@ -0,0 +1,13 @@
+--- sa.h.orig Tue Apr 13 20:44:58 2004
++++ sa.h Tue Apr 13 20:45:30 2004
+@@ -41,10 +41,6 @@
+ #include "config.h"
+ #endif
+
+-/* fallback for POSIX socklen_t */
+-#if defined(HAVE_CONFIG_H) && !defined(HAVE_SOCKLEN_T)
+-typedef int socklen_t;
+-#endif
+
+ /* embedding support */
+ #ifdef SA_PREFIX