diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-03-30 04:36:13 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-03-30 04:36:13 +0800 |
commit | 82ba5052aa264119e7d6a3384f5f54b49968929d (patch) | |
tree | 33e1db1d543d3dab7db3e1d3f39da68b8f1e0d75 /databases | |
parent | 7a9b87b918e784e72838cf9c297caddecae78f8f (diff) | |
download | freebsd-ports-gnome-82ba5052aa264119e7d6a3384f5f54b49968929d.tar.gz freebsd-ports-gnome-82ba5052aa264119e7d6a3384f5f54b49968929d.tar.zst freebsd-ports-gnome-82ba5052aa264119e7d6a3384f5f54b49968929d.zip |
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 <kheuer@gwdg.de> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/useracc/Makefile | 4 | ||||
-rw-r--r-- | databases/useracc/files/patch-src::useracc.c | 9 | ||||
-rw-r--r-- | databases/useracc/pkg-plist | 2 |
3 files changed, 13 insertions, 2 deletions
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 <bsd.port.mk> 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 |