diff options
author | Cy Schubert <cy@FreeBSD.org> | 2011-12-06 21:22:17 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2011-12-06 21:22:17 +0000 |
commit | 2b71b1713d72b9f5456ef034eaca70ce3794339b (patch) | |
tree | e21d718c1e37212006cf6ffee8d5bcc50592a539 /net/fspd | |
parent | 4d4091e326eb5cafa81afbad4ab5304ce4c3a0ea (diff) | |
download | ports-2b71b1713d72b9f5456ef034eaca70ce3794339b.tar.gz ports-2b71b1713d72b9f5456ef034eaca70ce3794339b.zip |
Notes
Diffstat (limited to 'net/fspd')
-rw-r--r-- | net/fspd/Makefile | 4 | ||||
-rw-r--r-- | net/fspd/files/patch-bsd_src-print.c | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/net/fspd/Makefile b/net/fspd/Makefile index ba64e5321a59..bec67767e4b0 100644 --- a/net/fspd/Makefile +++ b/net/fspd/Makefile @@ -43,10 +43,6 @@ OPTIONS= NOCLIENTS "Omit client commands" off \ .include <bsd.port.pre.mk> -.if ${OSVERSION} > 900007 -BROKEN= fails to build with new utmpx -.endif - .if defined(WITH_INFINITE) SCONS_ARGS+= disable-timeout=yes .endif diff --git a/net/fspd/files/patch-bsd_src-print.c b/net/fspd/files/patch-bsd_src-print.c new file mode 100644 index 000000000000..7ef9eb2e710b --- /dev/null +++ b/net/fspd/files/patch-bsd_src-print.c @@ -0,0 +1,14 @@ +--- bsd_src/print.c.orig 2009-10-01 13:46:36.000000000 -0700 ++++ bsd_src/print.c 2011-12-06 13:05:42.177765575 -0800 +@@ -32,7 +32,11 @@ + #include <sys/param.h> + #include <grp.h> + #include <pwd.h> ++#if defined(__FreeBSD_version) && __FreeBSD_version > 900007 ++#include <utmpx.h> ++#else + #include <utmp.h> ++#endif + #ifdef TIME_WITH_SYS_TIME + # include <sys/time.h> + # include <time.h> |