summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-26 09:43:08 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-26 09:43:08 -0500
commit903222644b3779d681e74b1ff14e9ebd20dae750 (patch)
treeb5608c1dbff1fd87ade7ed4a6930b0c6d1218a9e /community
parent9b7bd78a8d102ebdde7bac350c2326cd370a88c8 (diff)
Add parcellite-1.0.2rc5-glib.patch
Diffstat (limited to 'community')
-rw-r--r--community/parcellite/PKGBUILD11
-rw-r--r--community/parcellite/parcellite-1.0.2rc5-glib.patch11
2 files changed, 18 insertions, 4 deletions
diff --git a/community/parcellite/PKGBUILD b/community/parcellite/PKGBUILD
index 7d7a812ff..50bebc680 100644
--- a/community/parcellite/PKGBUILD
+++ b/community/parcellite/PKGBUILD
@@ -12,15 +12,18 @@ license=('GPL3')
depends=('gtk2')
makedepends=('intltool')
source=(http://downloads.sourceforge.net/parcellite/parcellite-$pkgver.tar.gz
- history_menu_crash_patch)
-md5sums=('e7c818b93c7303daadf6093c6ebe79f9'
- '8fd6e07fa907865ca4db7b3e13441ce6')
+ history_menu_crash_patch
+ parcellite-1.0.2rc5-glib.patch)
+md5sums=('fa2d3ac8ec70df47e425695919bbc097'
+ '8fd6e07fa907865ca4db7b3e13441ce6'
+ '5fad7f05a198bb9ff8b79544b42d51ff')
build() {
cd "$srcdir/parcellite-$pkgver"
(cd src && patch -p0 <$srcdir/history_menu_crash_patch)
- make distclean
+ patch -Np1 -i ${srcdir}/parcellite-1.0.2rc5-glib.patch
./configure --prefix=/usr --sysconfdir=/etc
make
make DESTDIR="$pkgdir" install
+ make distclean
}
diff --git a/community/parcellite/parcellite-1.0.2rc5-glib.patch b/community/parcellite/parcellite-1.0.2rc5-glib.patch
new file mode 100644
index 000000000..d4e1312e2
--- /dev/null
+++ b/community/parcellite/parcellite-1.0.2rc5-glib.patch
@@ -0,0 +1,11 @@
+--- parcellite-1.0.2rc5.orig/src/keybinder.h 2011-09-09 18:02:32.000000000 -0500
++++ parcellite-1.0.2rc5/src/keybinder.h 2012-12-26 09:30:05.145148674 -0500
+@@ -20,7 +20,7 @@
+ #ifndef __KEY_BINDER_H__
+ #define __KEY_BINDER_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+