summaryrefslogtreecommitdiff
path: root/community/gtk2+extra
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-05 02:46:23 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-05 02:46:23 -0500
commit696efd249ddf0c7a90a403b413d157d2aaa3da02 (patch)
tree154b97286ef7d110bf2ac69b2726cf9c382f0c7a /community/gtk2+extra
parent861f8a9281bd80927dbd7fd3a03eacbca9ae5cba (diff)
Add gtk2+extra-2.1.2-glib.patch
Diffstat (limited to 'community/gtk2+extra')
-rw-r--r--community/gtk2+extra/PKGBUILD7
-rw-r--r--community/gtk2+extra/gtk2+extra-2.1.2-glib.patch11
2 files changed, 16 insertions, 2 deletions
diff --git a/community/gtk2+extra/PKGBUILD b/community/gtk2+extra/PKGBUILD
index ba4d2ebae..73e8633d8 100644
--- a/community/gtk2+extra/PKGBUILD
+++ b/community/gtk2+extra/PKGBUILD
@@ -12,13 +12,16 @@ depends=('gtk2')
license=('LGPL')
options=('!libtool')
source=(http://downloads.sourceforge.net/project/gtkextra/$pkgver/gtk%2Bextra-$pkgver.tar.gz
- build-fix.patch)
+ build-fix.patch
+ gtk2+extra-2.1.2-glib.patch)
md5sums=('10779394f39d39115fa3fd0f3dea4436'
- '114c10e7dc14dc78fc38189ee82fa225')
+ '114c10e7dc14dc78fc38189ee82fa225'
+ 'b05e0caeaf9d05f2167c46a89406f686')
build() {
cd $srcdir/gtk+extra-$pkgver
patch -p1 <$srcdir/build-fix.patch
+ patch -Np1 -i ${srcdir}/gtk2+extra-2.1.2-glib.patch
./configure --prefix=/usr
make
make DESTDIR=$pkgdir install
diff --git a/community/gtk2+extra/gtk2+extra-2.1.2-glib.patch b/community/gtk2+extra/gtk2+extra-2.1.2-glib.patch
new file mode 100644
index 000000000..19f170606
--- /dev/null
+++ b/community/gtk2+extra/gtk2+extra-2.1.2-glib.patch
@@ -0,0 +1,11 @@
+--- gtk+extra-2.1.2.orig/gtkextra/gtkcharsel.c 2004-08-27 16:46:14.000000000 -0500
++++ gtk+extra-2.1.2/gtkextra/gtkcharsel.c 2012-12-04 06:13:06.926662933 -0500
+@@ -18,7 +18,7 @@
+ */
+
+ #include <gtk/gtk.h>
+-#include <glib/gunicode.h>
++#include <glib.h>
+
+ #include <string.h>
+ #include "gtkcharsel.h"