aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2011-12-07 05:19:47 +0800
committercy <cy@FreeBSD.org>2011-12-07 05:19:47 +0800
commit931ee8126ec52a8df6cabcf5853b65e3413eb8e8 (patch)
tree6df53e70a85425c25e46b00afb816fec1658174a /net
parent31edf755e9b05dc0789e42ffd22401f8886da97d (diff)
downloadfreebsd-ports-gnome-931ee8126ec52a8df6cabcf5853b65e3413eb8e8.tar.gz
freebsd-ports-gnome-931ee8126ec52a8df6cabcf5853b65e3413eb8e8.tar.zst
freebsd-ports-gnome-931ee8126ec52a8df6cabcf5853b65e3413eb8e8.zip
Fix build under 9.0.
Assume maintainership of this orphan. Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/fspclient/Makefile6
-rw-r--r--net/fspclient/files/patch-bsd-print.c15
2 files changed, 16 insertions, 5 deletions
diff --git a/net/fspclient/Makefile b/net/fspclient/Makefile
index e49cacc184bc..96fbd66ca039 100644
--- a/net/fspclient/Makefile
+++ b/net/fspclient/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 0.93.0
CATEGORIES= net
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= cy@FreeBSD.org
COMMENT= A ftp-like client for the FSP service
USE_BZIP2= yes
@@ -23,8 +23,4 @@ PLIST_FILES= bin/fsp
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 900007
-BROKEN= fails to build with new utmpx
-.endif
-
.include <bsd.port.post.mk>
diff --git a/net/fspclient/files/patch-bsd-print.c b/net/fspclient/files/patch-bsd-print.c
new file mode 100644
index 000000000000..31b402b24d3d
--- /dev/null
+++ b/net/fspclient/files/patch-bsd-print.c
@@ -0,0 +1,15 @@
+--- bsd/print.c.orig 2009-09-15 13:34:20.000000000 -0700
++++ bsd/print.c 2011-12-06 13:16:42.300321971 -0800
+@@ -27,7 +27,12 @@
+ #include "client.h"
+ #include <grp.h>
+ #include <pwd.h>
++#include <sys/param.h>
++#if defined(__FreeBSD_version) && __FreeBSD_version > 900007
++#include <utmpx.h>
++#else
+ #include <utmp.h>
++#endif
+ #include <time.h>
+ #include "ls.h"
+