summaryrefslogtreecommitdiff
path: root/community/librcc
diff options
context:
space:
mode:
Diffstat (limited to 'community/librcc')
-rw-r--r--community/librcc/PKGBUILD9
-rw-r--r--community/librcc/librcc-0.2.6-glib.patch11
2 files changed, 17 insertions, 3 deletions
diff --git a/community/librcc/PKGBUILD b/community/librcc/PKGBUILD
index fa2df29fc..702a69f29 100644
--- a/community/librcc/PKGBUILD
+++ b/community/librcc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=librcc
pkgver=0.2.6
pkgrel=5
pkgdesc="Charset Conversion Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://rusxmms.sourceforge.net/"
license=('GPL')
depends=(aspell enca libxml2 db librcd)
@@ -13,12 +13,15 @@ makedepends=(patch gtk gtk2)
install=librcc.install
options=('!libtool')
source=(http://downloads.sourceforge.net/rusxmms/${pkgname}-${pkgver}.tar.bz2
- librcc-strnlen.patch)
+ librcc-strnlen.patch
+ librcc-0.2.6-glib.patch)
md5sums=('9bbf248c7312c73c0b6ca19b9c5a2af1'
- '040313d1d8f166ccf2b128cea4c05f21')
+ '040313d1d8f166ccf2b128cea4c05f21'
+ '214aef7764131252620892b56c09de9d')
build() {
cd $srcdir/$pkgname-${pkgver}
+ patch -Np1 -i ${srcdir}/librcc-0.2.6-glib.patch
./configure --prefix=/usr
patch -p1 <$srcdir/librcc-strnlen.patch
make
diff --git a/community/librcc/librcc-0.2.6-glib.patch b/community/librcc/librcc-0.2.6-glib.patch
new file mode 100644
index 000000000..3b593f144
--- /dev/null
+++ b/community/librcc/librcc-0.2.6-glib.patch
@@ -0,0 +1,11 @@
+--- librcc-0.2.6.orig/external/rccexternal.c 2007-04-05 06:35:50.000000000 -0500
++++ librcc-0.2.6/external/rccexternal.c 2012-12-10 14:49:30.069404313 -0500
+@@ -33,7 +33,7 @@
+ # include <signal.h>
+ #endif /* HAVE_SIGNAL_H */
+
+-#include <glib/gthread.h>
++#include <glib.h>
+
+ #include "../src/rcchome.h"
+ #include "../src/rccexternal.h"