summaryrefslogtreecommitdiff
path: root/community/librcc
diff options
context:
space:
mode:
Diffstat (limited to 'community/librcc')
-rw-r--r--community/librcc/PKGBUILD7
-rw-r--r--community/librcc/librcc-0.2.6-glib.patch11
2 files changed, 16 insertions, 2 deletions
diff --git a/community/librcc/PKGBUILD b/community/librcc/PKGBUILD
index 3a697f3dd..0d16c862a 100644
--- a/community/librcc/PKGBUILD
+++ b/community/librcc/PKGBUILD
@@ -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 ${startdir}/src/$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"