mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Fix build under 9.0.
Submitted to bugzilla.xfce.org under bugid 8081. Approved by: eadler
This commit is contained in:
parent
9bb4db40e1
commit
db94bdffc8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284681
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= xfce4-taskmanager
|
||||
PORTVERSION= 1.0.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 xfce
|
||||
MASTER_SITES= ${MASTER_SITE_XFCE}
|
||||
MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
|
||||
@ -26,10 +27,6 @@ USE_GNOME= gtk20 desktopfileutils intltool intlhack pkgconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 900000
|
||||
BROKEN= does not compile on FreeBSD 9.X
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|prefix)/$$(DATADIRNAME)|datadir)|' \
|
||||
${WRKSRC}/po/Makefile.in.in
|
||||
|
12
x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c
Normal file
12
x11/xfce4-taskmanager/files/patch-task-manager-freebsd.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/task-manager-freebsd.c.orig 2010-05-21 06:29:33.000000000 -0700
|
||||
+++ src/task-manager-freebsd.c 2011-10-27 12:42:24.425260800 -0700
|
||||
@@ -18,6 +18,9 @@
|
||||
#include <fcntl.h>
|
||||
#include <paths.h>
|
||||
#include <unistd.h>
|
||||
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 900044
|
||||
+#include <sys/vmmeter.h>
|
||||
+#endif
|
||||
|
||||
#include <glib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user