[Pkg-xfce-commits] r1151 - in goodies/xfce4-systemload-plugin/debian: . patches

Yves-Alexis Perez corsac-guest at alioth.debian.org
Sat Mar 10 00:51:32 CET 2007


Author: corsac-guest
Date: 2007-03-09 23:51:32 +0000 (Fri, 09 Mar 2007)
New Revision: 1151

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

Modified: goodies/xfce4-systemload-plugin/debian/changelog
===================================================================
--- goodies/xfce4-systemload-plugin/debian/changelog	2007-03-05 20:40:19 UTC (rev 1150)
+++ goodies/xfce4-systemload-plugin/debian/changelog	2007-03-09 23:51:32 UTC (rev 1151)
@@ -9,8 +9,9 @@
   * 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.patch added (Thanks Kibi).
 
- -- Yves-Alexis Perez <corsac at corsac.net>  Thu, 18 Jan 2007 02:07:56 +0100
+ -- Yves-Alexis Perez <corsac at corsac.net>  Sat, 10 Mar 2007 00:50:05 +0100
 
 xfce4-systemload-plugin (0.4-2) unstable; urgency=low
 

Added: goodies/xfce4-systemload-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch
===================================================================
--- goodies/xfce4-systemload-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch	2007-03-05 20:40:19 UTC (rev 1150)
+++ goodies/xfce4-systemload-plugin/debian/patches/01_fix-ftbfs-kfreebsd.patch	2007-03-09 23:51:32 UTC (rev 1151)
@@ -0,0 +1,33 @@
+--- xfce4-systemload-plugin-0.4/panel-plugin/cpu.c	2007-03-10 00:02:05.997544000 +0100
++++ xfce4-systemload-plugin-0.4/panel-plugin/cpu.c	2007-03-10 00:02:27.000000000 +0100
+@@ -37,7 +37,7 @@
+ #include <libxfcegui4/dialogs.h>
+ #include "cpu.h" 
+ 
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__FreeBSD_kernel__)
+ #define PROC_STAT "/proc/stat"
+ 
+ /* user, nice, system, interrupt(BSD specific), idle */
+--- xfce4-systemload-plugin-0.4/panel-plugin/memswap.c	2007-03-10 00:01:41.904882000 +0100
++++ xfce4-systemload-plugin-0.4/panel-plugin/memswap.c	2007-03-10 00:01:55.000000000 +0100
+@@ -32,7 +32,7 @@
+ #include "memswap.h"
+ 
+ 
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__FreeBSD_kernel__)
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+--- xfce4-systemload-plugin-0.4/panel-plugin/uptime.c	2007-03-10 00:03:36.023726000 +0100
++++ xfce4-systemload-plugin-0.4/panel-plugin/uptime.c	2007-03-10 00:03:56.000000000 +0100
+@@ -34,7 +34,7 @@
+ 
+ #include "uptime.h"
+ 
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__FreeBSD_kernel__)
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>




More information about the Pkg-xfce-commits mailing list