summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-03 11:13:20 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-03 11:13:20 -0500
commitf899ed8edc614fe81376578c9fd10a43614e539b (patch)
tree8ad8032fe0fc696aad2b5da4f9de55284348439f /community
parenta4a58a90f0596392d131d6cf4f1a72c39930e21c (diff)
Add xpad-4.1-glib.patch
Diffstat (limited to 'community')
-rw-r--r--community/xpad/PKGBUILD7
-rw-r--r--community/xpad/xpad-4.1-glib.patch10
2 files changed, 15 insertions, 2 deletions
diff --git a/community/xpad/PKGBUILD b/community/xpad/PKGBUILD
index 338d5972d..300054866 100644
--- a/community/xpad/PKGBUILD
+++ b/community/xpad/PKGBUILD
@@ -14,13 +14,16 @@ url="http://mterry.name/xpad/"
license=('GPL')
install=xpad.install
source=(http://launchpad.net/xpad/trunk/$pkgver/+download/xpad-$pkgver.tar.bz2
- xpad-gtk-2.20.patch)
+ xpad-gtk-2.20.patch
+ xpad-4.1-glib.patch)
md5sums=('e37bfbe2331d810124c28150fdf30b3f'
- '6a3d2952b469d65ec333714991ba8284')
+ '6a3d2952b469d65ec333714991ba8284'
+ '69a2792b9cf4791aa733d1034a28c84b')
build() {
cd $srcdir/$pkgname-$pkgver
# patch -p1 <$srcdir/xpad-gtk-2.20.patch
+ patch -Np1 -i ${srcdir}/xpad-4.1-glib.patch
./configure --prefix=/usr
/usr/bin/make
/usr/bin/make DESTDIR=$pkgdir install
diff --git a/community/xpad/xpad-4.1-glib.patch b/community/xpad/xpad-4.1-glib.patch
new file mode 100644
index 000000000..c90f961c3
--- /dev/null
+++ b/community/xpad/xpad-4.1-glib.patch
@@ -0,0 +1,10 @@
+--- xpad-4.1.orig/src/xpad-undo.c 2011-11-15 12:17:05.000000000 -0500
++++ xpad-4.1/src/xpad-undo.c 2013-01-03 02:30:45.683705231 -0500
+@@ -23,7 +23,6 @@
+ #include "../config.h"
+ #include <stdlib.h>
+ #include <glib.h>
+-#include <glib/glist.h>
+ #include "xpad-undo.h"
+ #include "xpad-text-buffer.h"
+