diff options
Diffstat (limited to 'community/xpad')
-rw-r--r-- | community/xpad/PKGBUILD | 9 | ||||
-rw-r--r-- | community/xpad/xpad-4.1-glib.patch | 10 |
2 files changed, 16 insertions, 3 deletions
diff --git a/community/xpad/PKGBUILD b/community/xpad/PKGBUILD index 08fc0854f..300054866 100644 --- a/community/xpad/PKGBUILD +++ b/community/xpad/PKGBUILD @@ -7,20 +7,23 @@ pkgname=xpad pkgver=4.1 pkgrel=1 pkgdesc="Stickies-like notes program" -arch=(i686 x86_64) +arch=(i686 x86_64 'mips64el') depends=('gtk2' 'libsm' 'librsvg') makedepends=('intltool') 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" + |