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

Cyril Brulebois kibi at debian.org
Mon Jan 11 14:23:24 UTC 2010


Petr Salinger <Petr.Salinger at seznam.cz> (11/01/2010):
> For maintainable solution please use
>
> --- 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 (__FreeBSD_kernel__ < 8) && (__FreeBSD__ < 8)
>  #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>

Didn't you forget the “version” part of the defines? (Not sure about
the && part by the way.)

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100111/4ec113e7/attachment.pgp>


More information about the Pkg-xfce-devel mailing list