summaryrefslogtreecommitdiff
path: root/community/gnubiff
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnubiff')
-rw-r--r--community/gnubiff/PKGBUILD10
-rw-r--r--community/gnubiff/gnubiff-2.2.15-glib.patch12
2 files changed, 18 insertions, 4 deletions
diff --git a/community/gnubiff/PKGBUILD b/community/gnubiff/PKGBUILD
index 814259c8a..91fd3b38a 100644
--- a/community/gnubiff/PKGBUILD
+++ b/community/gnubiff/PKGBUILD
@@ -7,19 +7,21 @@ pkgname=gnubiff
pkgver=2.2.15
pkgrel=1
pkgdesc="Mail notification program that checks for mail and displays headers when new mail has arrived"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gnubiff.sourceforge.net/"
license=("GPL")
depends=('libglade' 'gtk3' 'popt')
makedepends=('perlxml' 'intltool')
conflicts=(gnubiff-gtk)
-source=(http://downloads.sourceforge.net/gnubiff/gnubiff-$pkgver.tar.gz)
-md5sums=('c705e1135b0bd4c8d8f7ce72ca7b5443')
+source=(http://downloads.sourceforge.net/gnubiff/gnubiff-$pkgver.tar.gz
+ gnubiff-2.2.15-glib.patch)
+md5sums=('c705e1135b0bd4c8d8f7ce72ca7b5443'
+ '31bce3b8b43decf0a1df9492cd807024')
build() {
[ "$GNOMEDIR" = "" ] && GNOMEDIR=/usr
cd $srcdir/gnubiff-$pkgver
-
+ patch -Np1 -i ${srcdir}/gnubiff-2.2.15-glib.patch
./configure --prefix=/usr --with-password --with-password-string="65423957eb027b94c9e661611c0e4271" \
--disable-fam --disable-gnome
make
diff --git a/community/gnubiff/gnubiff-2.2.15-glib.patch b/community/gnubiff/gnubiff-2.2.15-glib.patch
new file mode 100644
index 000000000..ed4b0cc5b
--- /dev/null
+++ b/community/gnubiff/gnubiff-2.2.15-glib.patch
@@ -0,0 +1,12 @@
+--- gnubiff-2.2.15.orig/src/gnubiff.cc 2012-01-08 15:55:47.000000000 -0500
++++ gnubiff-2.2.15/src/gnubiff.cc 2012-12-05 06:43:35.161272119 -0500
+@@ -60,7 +60,9 @@
+ #endif
+
+ // Thread initialization
++ #if !GLIB_CHECK_VERSION(2,31,0)
+ g_thread_init (NULL);
++ #endif
+ gdk_threads_init ();
+
+ //