diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2002-02-27 09:20:42 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2002-02-27 09:20:42 +0800 |
commit | d4d1fee9739ea90d3564da3fef0dfcb419746b1a (patch) | |
tree | c89d01afb4ccf0a6265f8ebdccb61d2df76bc91b /comms/conserver-com | |
parent | 567ab03f268c7c8ac7019f37d6b3d58ea6e7c392 (diff) | |
download | freebsd-ports-gnome-d4d1fee9739ea90d3564da3fef0dfcb419746b1a.tar.gz freebsd-ports-gnome-d4d1fee9739ea90d3564da3fef0dfcb419746b1a.tar.zst freebsd-ports-gnome-d4d1fee9739ea90d3564da3fef0dfcb419746b1a.zip |
Fix unaligned access for alpha.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
Diffstat (limited to 'comms/conserver-com')
-rw-r--r-- | comms/conserver-com/Makefile | 1 | ||||
-rw-r--r-- | comms/conserver-com/files/patch-access.c | 11 |
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); |