Package: xfce4-netload-plugin
Version: 0.4-2
Severity: important
Tags: patch
MAW!
And yet another patch, GNU/kFreeBSD still being based on the FreeBSD
kernel. ;-)
Cheers,
--
Cyril Brulebois
--- xfce4-netload-plugin-0.4/panel-plugin/net.c 2007-03-21 06:50:46.313144000 +0100
+++ xfce4-netload-plugin-0.4/panel-plugin/net.c 2007-03-21 06:50:55.000000000 +0100
@@ -46,7 +46,7 @@
#elif __APPLE__
# include "src/macos.h"
# include "src/macos.c"
-#elif __FreeBSD__
+#elif __FreeBSD__ || __FreeBSD_kernel__
# include "wormulon/freebsd.h"
# include "wormulon/freebsd.c"
#elif __linux__
--- xfce4-netload-plugin-0.4/panel-plugin/net.h 2007-03-21 06:50:25.809095000 +0100
+++ xfce4-netload-plugin-0.4/panel-plugin/net.h 2007-03-21 06:50:40.000000000 +0100
@@ -62,7 +62,7 @@
#ifdef __HPUX__
int wait_pcks_counter;
nmapi_logstat* if_ptr;
-#elif __FreeBSD__
+#elif __FreeBSD__ || __FreeBSD_kernel__
int watchif;
int dev_opened;
#elif __NetBSD__
--- xfce4-netload-plugin-0.4/panel-plugin/os.h 2007-03-21 06:49:38.438606000 +0100
+++ xfce4-netload-plugin-0.4/panel-plugin/os.h 2007-03-21 06:50:09.000000000 +0100
@@ -72,7 +72,7 @@
#include <net/if_media.h>
#include <net/if_mib.h>
#include <arpa/inet.h>
-#elif __FreeBSD__ /* F R E E B S D */
+#elif __FreeBSD__ || __FreeBSD_kernel__ /* F R E E B S D */
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel