[Pkg-xfce-commits] r1170 - in goodies/xfce4-netload-plugin/debian:
. patches
Yves-Alexis Perez
corsac-guest at alioth.debian.org
Wed Mar 21 19:48:56 CET 2007
Author: corsac-guest
Date: 2007-03-21 18:48:56 +0000 (Wed, 21 Mar 2007)
New Revision: 1170
Added:
goodies/xfce4-netload-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch
Modified:
goodies/xfce4-netload-plugin/debian/changelog
Log:
fix ftbfs on kfreebsd \o/
Modified: goodies/xfce4-netload-plugin/debian/changelog
===================================================================
--- goodies/xfce4-netload-plugin/debian/changelog 2007-03-21 18:38:07 UTC (rev 1169)
+++ goodies/xfce4-netload-plugin/debian/changelog 2007-03-21 18:48:56 UTC (rev 1170)
@@ -7,8 +7,10 @@
* debian/control:
- removed Jani from uploaders as he's not anymore in the team.
- removed gtk from build-dep as it's pulled by xfce4-panel-dev anyway.
+ * debian/patches:
+ - 01_fix-ftbfs-kfreebsd added, thanks Cyril Brulebois. closes: #415662
- -- Yves-Alexis Perez <corsac at corsac.net> Thu, 18 Jan 2007 02:03:05 +0100
+ -- Yves-Alexis Perez <corsac at corsac.net> Wed, 21 Mar 2007 19:39:15 +0100
xfce4-netload-plugin (0.4-2) unstable; urgency=low
Added: goodies/xfce4-netload-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch
===================================================================
--- goodies/xfce4-netload-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch 2007-03-21 18:38:07 UTC (rev 1169)
+++ goodies/xfce4-netload-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch 2007-03-21 18:48:56 UTC (rev 1170)
@@ -0,0 +1,33 @@
+--- 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>
More information about the Pkg-xfce-commits
mailing list