1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

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)
This commit is contained in:
Emanuel Haupt 2011-03-29 20:36:13 +00:00
parent 8257905e76
commit 431b7f0225
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271995
3 changed files with 13 additions and 2 deletions

View File

@ -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>

View File

@ -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

View File

@ -1,2 +0,0 @@
bin/useracc
etc/rc.d/useracc.sh.sample