summaryrefslogtreecommitdiff
path: root/community/gtk2+extra
diff options
context:
space:
mode:
Diffstat (limited to 'community/gtk2+extra')
-rw-r--r--community/gtk2+extra/PKGBUILD9
-rw-r--r--community/gtk2+extra/gtk2+extra-2.1.2-glib.patch11
2 files changed, 17 insertions, 3 deletions
diff --git a/community/gtk2+extra/PKGBUILD b/community/gtk2+extra/PKGBUILD
index b380bfe1d..73e8633d8 100644
--- a/community/gtk2+extra/PKGBUILD
+++ b/community/gtk2+extra/PKGBUILD
@@ -6,19 +6,22 @@ pkgname=gtk2+extra
pkgver=2.1.2
pkgrel=2
pkgdesc="GtkExtra is a useful set of widgets for creating GUI's for the Xwindows system using GTK+"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://gtkextra.sourceforge.net/"
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"