Package: xfce4-netload-plugin
Version: 1.0.0-1
Author: Guillem Jover <guillem@debian.org>
Status: applied
Debbug: 621820
Description:
 Do not include ppp headers on FreeBSD based systems, they have removed
 AF_PPP support some time ago.

diff --git a/debian/patches/02_unused_ppp_headers.patch b/debian/patches/02_unused_ppp_headers.patch
new file mode 100644
index 0000000..6516f8c
--- /dev/null
+++ b/debian/patches/02_unused_ppp_headers.patch
@@ -0,0 +1,15 @@
+---
+ panel-plugin/os.h |    2 --
+ 1 file changed, 2 deletions(-)
+
+--- a/panel-plugin/os.h
++++ b/panel-plugin/os.h
+@@ -122,8 +122,6 @@
+ #  include <net/if_media.h>
+ #  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>
diff --git a/debian/patches/series b/debian/patches/series
index 7efbfee..cea4f3f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_fix-snprintf-format.patch
+02_unused_ppp_headers.patch
