summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/patches/patch-ae
diff options
context:
space:
mode:
authorwiz <wiz>2006-04-13 21:32:40 +0000
committerwiz <wiz>2006-04-13 21:32:40 +0000
commite56eac1acd6c1e431693d1a5f9a395edaf42333b (patch)
tree5d03024f73b0793214a0255cf6144c1dfd8ff6be /security/cyrus-sasl/patches/patch-ae
parent837563996f1914e6f587dbe2cf3219e8bd7266b7 (diff)
downloadpkgsrc-e56eac1acd6c1e431693d1a5f9a395edaf42333b.tar.gz
Add current contents of security/cyrus-sasl2, starting its move
to security/cyrus-sasl (to make PKGNAME match directory name).
Diffstat (limited to 'security/cyrus-sasl/patches/patch-ae')
-rw-r--r--security/cyrus-sasl/patches/patch-ae16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/cyrus-sasl/patches/patch-ae b/security/cyrus-sasl/patches/patch-ae
new file mode 100644
index 00000000000..92814ccb36c
--- /dev/null
+++ b/security/cyrus-sasl/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.3 2006/04/13 21:32:40 wiz Exp $
+
+--- sample/server.c.orig Sun Oct 27 14:15:37 2002
++++ sample/server.c Sun Oct 27 14:15:40 2002
+@@ -117,9 +117,9 @@
+ }
+ #if defined(IPV6_V6ONLY) && !(defined(__FreeBSD__) && __FreeBSD__ < 3)
+ if (r->ai_family == AF_INET6) {
+- if (setsockopt(*sock, IPPROTO_IPV6, IPV6_BINDV6ONLY,
++ if (setsockopt(*sock, IPPROTO_IPV6, IPV6_V6ONLY,
+ (void *) &on, sizeof(on)) < 0) {
+- perror("setsockopt (IPV6_BINDV6ONLY)");
++ perror("setsockopt (IPV6_V6ONLY)");
+ close(*sock);
+ continue;
+ }