diff options
author | Jose V Beneyto <sepen@users.sourceforge.net> | 2008-12-08 14:32:30 +0100 |
---|---|---|
committer | Jose V Beneyto <sepen@users.sourceforge.net> | 2008-12-08 14:32:30 +0100 |
commit | d6539a142a6a9bb7d2015d4a7e9c6f570f2caa1f (patch) | |
tree | 047fea022440900d7a11e957db8aa5c94ce52b92 | |
parent | aa0348e4e69e987b6078ba9c35f836b3ac7e7633 (diff) | |
download | xfce-d6539a142a6a9bb7d2015d4a7e9c6f570f2caa1f.tar.gz xfce-d6539a142a6a9bb7d2015d4a7e9c6f570f2caa1f.tar.xz |
xfce4-battery-plugin: added apm patch (thanks to thrice)
-rw-r--r-- | xfce4-battery-plugin/.md5sum | 1 | ||||
-rw-r--r-- | xfce4-battery-plugin/Pkgfile | 6 | ||||
-rw-r--r-- | xfce4-battery-plugin/libapm.h.patch | 13 |
3 files changed, 18 insertions, 2 deletions
diff --git a/xfce4-battery-plugin/.md5sum b/xfce4-battery-plugin/.md5sum index 187ac91..08e754f 100644 --- a/xfce4-battery-plugin/.md5sum +++ b/xfce4-battery-plugin/.md5sum @@ -1 +1,2 @@ +f4d78e41c784bfde3361ec5b9252c1c8 libapm.h.patch d8a666d85bb3c1dd007b547de4dd7037 xfce4-battery-plugin-0.5.1.tar.bz2 diff --git a/xfce4-battery-plugin/Pkgfile b/xfce4-battery-plugin/Pkgfile index c030f1b..51d4b06 100644 --- a/xfce4-battery-plugin/Pkgfile +++ b/xfce4-battery-plugin/Pkgfile @@ -7,11 +7,13 @@ name=xfce4-battery-plugin version=0.5.1 -release=1 -source=(http://goodies.xfce.org/releases/$name/$name-$version.tar.bz2) +release=2 +source=(http://goodies.xfce.org/releases/$name/$name-$version.tar.bz2 \ + libapm.h.patch) build () { cd $name-$version + patch -p1 -i $SRC/libapm.h.patch ./configure --prefix=/usr \ --libexecdir=/usr/lib \ --disable-static \ diff --git a/xfce4-battery-plugin/libapm.h.patch b/xfce4-battery-plugin/libapm.h.patch new file mode 100644 index 0000000..3c29a2b --- /dev/null +++ b/xfce4-battery-plugin/libapm.h.patch @@ -0,0 +1,13 @@ +diff -Nur xfce4-battery-plugin-0.5.1.orig/panel-plugin/libapm.h xfce4-battery-plugin-0.5.1/panel-plugin/libapm.h +--- xfce4-battery-plugin-0.5.1.orig/panel-plugin/libapm.h 2008-09-04 15:53:40.000000000 -0500 ++++ xfce4-battery-plugin-0.5.1/panel-plugin/libapm.h 2008-09-09 22:39:46.536365973 -0500 +@@ -17,8 +17,8 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +-#include <linux/apm_bios.h> + #include <sys/types.h> ++#include <linux/apm_bios.h> + + #define APM_PROC "/proc/apm" + #define APM_DEVICE "/dev/apm_bios" |