tags 621820 patch
thanks

Hi!

On Sun, 2011-07-31 at 10:28:32 +0200, Yves-Alexis Perez wrote:
> On dim., 2011-07-31 at 07:39 +0200, Guillem Jover wrote:
> > Done so now, we don't currently have ppp for GNU/kFreeBSD yet but
> > once xfce4-netload-plugin gets ported to it, that would not disallow
> > the package from being built any longer. 
> 
> To be honest, I'm not really sure that'll happen at all, sadly.

Actually, this does not seem to be needed at all! Just checked the
sources and found out no PPP related stuff is being used there. So
just removing the headers does the trick. This should proably be
done for all systems and not just FreeBSD and GNU/kFreeBSD, but
I've not tested anywhere else so...

There's actually a similar patch for exactly this purpose in 0.4.0-4
that seems to have been lost in the way?

regards,
guillem
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

Reply via email to