[Pkg-xfce-commits] r1167 - in goodies/xfce4-battery-plugin/debian: . patches

Yves-Alexis Perez corsac-guest at alioth.debian.org
Wed Mar 21 18:39:36 CET 2007


Author: corsac-guest
Date: 2007-03-21 17:39:36 +0000 (Wed, 21 Mar 2007)
New Revision: 1167

Added:
   goodies/xfce4-battery-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch
Modified:
   goodies/xfce4-battery-plugin/debian/changelog
Log:
add patch to fix ftbfs on kfreebsd


Modified: goodies/xfce4-battery-plugin/debian/changelog
===================================================================
--- goodies/xfce4-battery-plugin/debian/changelog	2007-03-21 17:32:13 UTC (rev 1166)
+++ goodies/xfce4-battery-plugin/debian/changelog	2007-03-21 17:39:36 UTC (rev 1167)
@@ -2,10 +2,12 @@
 
   (Yves-Alexis Perez)
   * New upstream release.
+  * debian/patches:
+  	- added 01_fix-ftbfs-kfreebsd.patch, thanks Cyril Brulebois. closes: #415658
   (Stefan Ott)
   * debian/control: updated the url
 
- -- Yves-Alexis Perez <corsac at corsac.net>  Wed, 17 Jan 2007 23:10:05 +0100
+ -- Yves-Alexis Perez <corsac at corsac.net>  Wed, 21 Mar 2007 18:25:15 +0100
 
 xfce4-battery-plugin (0.4.90.2-1) unstable; urgency=low
 

Added: goodies/xfce4-battery-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch
===================================================================
--- goodies/xfce4-battery-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch	2007-03-21 17:32:13 UTC (rev 1166)
+++ goodies/xfce4-battery-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch	2007-03-21 17:39:36 UTC (rev 1167)
@@ -0,0 +1,11 @@
+--- xfce4-battery-plugin-0.4.90.3/panel-plugin/battery.c	2007-03-21 06:24:11.989735000 +0100
++++ xfce4-battery-plugin-0.4.90.3/panel-plugin/battery.c	2007-03-21 06:24:41.000000000 +0100
+@@ -25,7 +25,7 @@
+ #include <config.h>
+ #endif
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ #include <machine/apm_bios.h>
+ #elif __OpenBSD__
+ #include <sys/param.h>




More information about the Pkg-xfce-commits mailing list