[Pkg-xfce-devel] Bug#564651: Bug#564651: xfce4-netload-plugin: FTBFS on kfreebsd-*: net/*.h: No such file or directory

Petr Salinger Petr.Salinger at seznam.cz
Mon Jan 11 10:33:17 UTC 2010


> Thanks, I'm not exactly sure what I can do now. In this case, the FTBFS
> seems more due to kfreebsd than netload (it was building fine before).
> So there is no more net/ppp_defs.h and net/if_ppp.h in freebsd 8? Is
> there a porting guide or something?
>
> Doing a search for freebsd + net/ppp_defs.h returns as first result this
> one bug report so?


In this particular case the solution is easy.
Just do not include unnecessary headers.

Build-tested on kfreebsd-amd64.

Petr

--- xfce4-netload-plugin-0.4.0.orig/panel-plugin/os.h
+++ xfce4-netload-plugin-0.4.0/panel-plugin/os.h
@@ -94,8 +94,10 @@
  #include <net/if_media.h>
  #include <net/if_mib.h>
  #include <arpa/inet.h>
+#if 0
  #include <net/ppp_defs.h>
  #include <net/if_ppp.h>
+#endif
  #elif __NetBSD__            /* N E T B S D */
  #include <stdio.h>
  #include <sys/param.h>






More information about the Pkg-xfce-devel mailing list