summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2010-04-08 08:54:52 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2010-04-08 08:54:52 +0000
commit9684e2a7ca43507508c90f604be1ca7b2c1e1183 (patch)
treea88bdf09465b04ff1451b6ff6260d690a5b004fe
parent- Update to 0.9.5 (diff)
Unbreak on recent versions of FreeBSd-8.
Submitted by: Brian Powell <bp2626@yahoo.com>
Notes
Notes: svn path=/head/; revision=252436
-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>