From 82ba5052aa264119e7d6a3384f5f54b49968929d Mon Sep 17 00:00:00 2001 From: ehaupt Date: Tue, 29 Mar 2011 20:36:13 +0000 Subject: Because of bad type declaration communication between master/slave server and client does not work on 64 bit architectures. Provide a patch to solve this. PR: 155748 Submitted by: Konrad Heuer (maintainer) --- databases/useracc/Makefile | 4 ++++ databases/useracc/files/patch-src::useracc.c | 9 +++++++++ databases/useracc/pkg-plist | 2 -- 3 files changed, 13 insertions(+), 2 deletions(-) delete mode 100644 databases/useracc/pkg-plist (limited to 'databases') diff --git a/databases/useracc/Makefile b/databases/useracc/Makefile index 00dbfd22a0e8..53c68f3d82d8 100644 --- a/databases/useracc/Makefile +++ b/databases/useracc/Makefile @@ -7,6 +7,7 @@ PORTNAME= useracc PORTVERSION= 3.1 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= ftp://gwdu111.gwdg.de/pub/FreeBSD/misc/ \ ftp://gwdu112.gwdg.de/pub/FreeBSD/misc/ @@ -16,5 +17,8 @@ COMMENT= Special purpose database application MAN1= useracc.1 MANCOMPRESSED= yes +PLIST_FILES= bin/useracc etc/rc.d/useracc.sh.sample + +CFLAGS+= -DFreeBSD .include diff --git a/databases/useracc/files/patch-src::useracc.c b/databases/useracc/files/patch-src::useracc.c index e9dcdc2d4b55..958e2c28d4e4 100644 --- a/databases/useracc/files/patch-src::useracc.c +++ b/databases/useracc/files/patch-src::useracc.c @@ -9,3 +9,12 @@ #define ACCFILE "useracc.dat" /* default user accounts file */ +@@ -299,7 +299,7 @@ + { + int sockfd; + #ifndef OSF1 +- unsigned long inadd; ++ in_addr_t inadd; + #else + in_addr_t inadd; + #endif diff --git a/databases/useracc/pkg-plist b/databases/useracc/pkg-plist deleted file mode 100644 index 8d8424b267ce..000000000000 --- a/databases/useracc/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/useracc -etc/rc.d/useracc.sh.sample -- cgit