aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2010-04-08 16:54:52 +0800
committerdemon <demon@FreeBSD.org>2010-04-08 16:54:52 +0800
commit6723e1a10ae255a32ca7054e229f764eb7b58e31 (patch)
treee9baf65277b56bd3bee3ceea2ccdb039f1a28e3a /sysutils
parent5bb7188417a7ba6d3d6dd3cd95823d01ddb1a53e (diff)
downloadfreebsd-ports-gnome-6723e1a10ae255a32ca7054e229f764eb7b58e31.tar.gz
freebsd-ports-gnome-6723e1a10ae255a32ca7054e229f764eb7b58e31.tar.zst
freebsd-ports-gnome-6723e1a10ae255a32ca7054e229f764eb7b58e31.zip
Unbreak on recent versions of FreeBSd-8.
Submitted by: Brian Powell <bp2626@yahoo.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xfce4-netload-plugin/Makefile8
-rw-r--r--sysutils/xfce4-netload-plugin/files/patch-panel-plugin-os.h10
2 files changed, 11 insertions, 7 deletions
diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
index 2ea659a7adca..c7ca720af957 100644
--- a/sysutils/xfce4-netload-plugin/Makefile
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -22,10 +22,4 @@ USE_GMAKE= yes
USE_GNOME= gnometarget gtk20 intltool intlhack pkgconfig
USE_XFCE= configenv panel
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800045
-BROKEN= does not compile: error: net/if_ppp.h: No such file or directory
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/xfce4-netload-plugin/files/patch-panel-plugin-os.h b/sysutils/xfce4-netload-plugin/files/patch-panel-plugin-os.h
new file mode 100644
index 000000000000..2f64f67c9946
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/files/patch-panel-plugin-os.h
@@ -0,0 +1,10 @@
+--- panel-plugin/os.h.orig 2010-04-08 12:52:28.000000000 +0400
++++ panel-plugin/os.h 2010-04-08 12:52:47.000000000 +0400
+@@ -95,7 +95,6 @@
+ #include <net/if_mib.h>
+ #include <arpa/inet.h>
+ #include <net/ppp_defs.h>
+-#include <net/if_ppp.h>
+ #elif __NetBSD__ /* N E T B S D */
+ #include <stdio.h>
+ #include <sys/param.h>