aboutsummaryrefslogtreecommitdiff
path: root/net/ossp-sa
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-04-13 18:57:59 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-04-13 18:57:59 +0000
commit45e61c9a206cbcf5cb578d65789ce1c365b7f93e (patch)
tree15cff337ddad09c03da4bf3bea047498811b6040 /net/ossp-sa
parent409706968ede576068001cc64bbbcfed9d354c5d (diff)
downloadports-45e61c9a206cbcf5cb578d65789ce1c365b7f93e.tar.gz
ports-45e61c9a206cbcf5cb578d65789ce1c365b7f93e.zip
Never ever redefine socklen_t. This should fix building lmtp2nntp with
external libsa (upcoming)
Notes
Notes: svn path=/head/; revision=106938
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