diff options
-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); |