summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-netload-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfce4-netload-plugin')
-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>