[Pkg-xfce-commits] r1168 - in goodies/xfce4-cpugraph-plugin/debian: . patches

Yves-Alexis Perez corsac-guest at alioth.debian.org
Wed Mar 21 19:10:06 CET 2007


Author: corsac-guest
Date: 2007-03-21 18:10:06 +0000 (Wed, 21 Mar 2007)
New Revision: 1168

Added:
   goodies/xfce4-cpugraph-plugin/debian/patches/02_fix-ftbfs-kfreebsd.dpatch
Modified:
   goodies/xfce4-cpugraph-plugin/debian/changelog
   goodies/xfce4-cpugraph-plugin/debian/patches/00list
Log:
fix ftbfs on kfreebsd

Modified: goodies/xfce4-cpugraph-plugin/debian/changelog
===================================================================
--- goodies/xfce4-cpugraph-plugin/debian/changelog	2007-03-21 17:39:36 UTC (rev 1167)
+++ goodies/xfce4-cpugraph-plugin/debian/changelog	2007-03-21 18:10:06 UTC (rev 1168)
@@ -10,8 +10,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
+  	- added 02_fix-ftbfs-freebsd.dpatch, thanks Cyril Brulebois. closes:#415659
 
- -- Yves-Alexis Perez <corsac at corsac.net>  Thu, 18 Jan 2007 01:58:25 +0100
+ -- Yves-Alexis Perez <corsac at corsac.net>  Wed, 21 Mar 2007 19:08:36 +0100
 
 xfce4-cpugraph-plugin (0.3-1) unstable; urgency=low
 

Modified: goodies/xfce4-cpugraph-plugin/debian/patches/00list
===================================================================
--- goodies/xfce4-cpugraph-plugin/debian/patches/00list	2007-03-21 17:39:36 UTC (rev 1167)
+++ goodies/xfce4-cpugraph-plugin/debian/patches/00list	2007-03-21 18:10:06 UTC (rev 1168)
@@ -1 +1,2 @@
 01_typo_appearance.dpatch
+02_fix-ftbfs-kfreebsd.dpatch

Added: goodies/xfce4-cpugraph-plugin/debian/patches/02_fix-ftbfs-kfreebsd.dpatch
===================================================================
--- goodies/xfce4-cpugraph-plugin/debian/patches/02_fix-ftbfs-kfreebsd.dpatch	2007-03-21 17:39:36 UTC (rev 1167)
+++ goodies/xfce4-cpugraph-plugin/debian/patches/02_fix-ftbfs-kfreebsd.dpatch	2007-03-21 18:10:06 UTC (rev 1168)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_fix-ftbfs-kfreebsd.dpatch by  <corsac at hidalgo>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad xfce4-cpugraph-plugin-0.3~/panel-plugin/os.c xfce4-cpugraph-plugin-0.3/panel-plugin/os.c
+--- xfce4-cpugraph-plugin-0.3~/panel-plugin/os.c	2006-04-27 21:19:04.000000000 +0200
++++ xfce4-cpugraph-plugin-0.3/panel-plugin/os.c	2007-03-21 18:51:55.000000000 +0100
+@@ -4,7 +4,7 @@
+ 
+ #include "os.h"
+ 
+-#if defined (__linux__)
++#if defined (__linux__) || defined(__GLIBC__)
+ long GetCPUUsage (int *oldusage, int *oldtotal)
+ {
+ 	long cpu, nice, system, idle, used, total;


Property changes on: goodies/xfce4-cpugraph-plugin/debian/patches/02_fix-ftbfs-kfreebsd.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-xfce-commits mailing list