aboutsummaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-08-12 18:35:37 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-08-12 18:35:37 +0000
commitf6c848659e70e7d31289bd7d3b927fe037655162 (patch)
tree0171dcce959cf8bc4aa5880e2f3dfdf691b7a0f5 /x11/XFree86-4-libraries
parente235486a470e8420c88533e090e20562c89de4da (diff)
downloadports-f6c848659e70e7d31289bd7d3b927fe037655162.tar.gz
ports-f6c848659e70e7d31289bd7d3b927fe037655162.zip
Notes
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r--x11/XFree86-4-libraries/files/patch-access.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-access.c b/x11/XFree86-4-libraries/files/patch-access.c
new file mode 100644
index 000000000000..3eb2b97aa37d
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-access.c
@@ -0,0 +1,16 @@
+Index: programs/Xserver/os/access.c
+===================================================================
+RCS file: /home/ncvs/xfree/xc/programs/Xserver/os/access.c,v
+retrieving revision 3.43
+retrieving revision 3.44
+diff -u -u -r3.43 -r3.44
+--- programs/Xserver/os/access.c 20 Apr 2003 18:35:12 -0000 3.43
++++ programs/Xserver/os/access.c 25 May 2003 10:38:47 -0000 3.44
+@@ -745,6 +745,7 @@
+ if (ifr->ifa_addr.sa_family == AF_DECnet)
+ continue;
+ #endif /* DNETCONN */
++ len = sizeof(*(ifr->ifa_addr));
+ family = ConvertAddr(ifr->ifa_addr, &len, (pointer *)&addr);
+ if (family == -1 || family == FamilyLocal)
+ continue;