summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-02-27 01:20:42 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-02-27 01:20:42 +0000
commit0888dff0c8f5c2ce96fbc30c8c17f50971c8f1fb (patch)
tree053a19da4f01ea1a6cd5029baab4e84f3e0efe57 /comms
parentUpgrade to 7.1.4. (diff)
Fix unaligned access for alpha.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
Notes
Notes: svn path=/head/; revision=55292
Diffstat (limited to 'comms')
-rw-r--r--comms/conserver-com/Makefile1
-rw-r--r--comms/conserver-com/files/patch-access.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile
index face6e2c61e9..bb8c96d9cfb6 100644
--- a/comms/conserver-com/Makefile
+++ b/comms/conserver-com/Makefile
@@ -7,6 +7,7 @@
PORTNAME= conserver
PORTVERSION= 7.1.4
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://ftp.conserver.com/conserver/
PKGNAMESUFFIX= -com
diff --git a/comms/conserver-com/files/patch-access.c b/comms/conserver-com/files/patch-access.c
new file mode 100644
index 000000000000..7d79cd31aaa0
--- /dev/null
+++ b/comms/conserver-com/files/patch-access.c
@@ -0,0 +1,11 @@
+--- conserver/access.c.orig Mon Jan 21 19:48:49 2002
++++ conserver/access.c Wed Feb 27 10:19:12 2002
+@@ -117,7 +117,7 @@
+ netmask = htonl(netmask);
+ if (~netmask & pattern_addr)
+ netmask = 0xffffffff; /* compare entire addresses */
+- hostaddr = *(unsigned long int *)addr;
++ hostaddr = *(unsigned int *)addr;
+
+ Debug("Access check: host=%lx(%lx/%lx)", hostaddr & netmask,
+ hostaddr, netmask);