ports/net/fspd/files/patch-bsd_src-print.c
Rene Ladan dbe759b042 net/fspd: revive
- stage
- add a static pkg-plist
- add DOCS knob
- do not build SGML documentation (jade fails)
- only install man pages for client commands if CLIENTS option is set

Changes from me:
- flip NOCLIENTS option into a CLIENTS option
- drop MLINKS files
- use @sample
- other minor Makefile changes

PR:		193393
Submitted by:	Radim Kolar
2015-01-18 15:14:17 +00:00

14 lines
385 B
C

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