summaryrefslogtreecommitdiff
path: root/extra/pidgin-encryption
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pidgin-encryption')
-rw-r--r--extra/pidgin-encryption/PKGBUILD11
-rw-r--r--extra/pidgin-encryption/glib.patch12
2 files changed, 19 insertions, 4 deletions
diff --git a/extra/pidgin-encryption/PKGBUILD b/extra/pidgin-encryption/PKGBUILD
index dd886c058..3f843ccc3 100644
--- a/extra/pidgin-encryption/PKGBUILD
+++ b/extra/pidgin-encryption/PKGBUILD
@@ -5,18 +5,21 @@
pkgname=pidgin-encryption
pkgver=3.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="A Pidgin plugin providing transparent RSA encryption using NSS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://pidgin-encrypt.sourceforge.net/"
depends=('pidgin' 'nss')
options=('!libtool')
-source=(http://downloads.sourceforge.net/pidgin-encrypt/$pkgname-$pkgver.tar.gz)
-md5sums=('d839eec602c21f913b32b742dc512f4b')
+source=(http://downloads.sourceforge.net/pidgin-encrypt/$pkgname-$pkgver.tar.gz
+ glib.patch)
+md5sums=('d839eec602c21f913b32b742dc512f4b'
+ '6183c2e70e11c9ef874b21a996c93d2f')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/glib.patch"
./configure --prefix=/usr --disable-static
make
}
diff --git a/extra/pidgin-encryption/glib.patch b/extra/pidgin-encryption/glib.patch
new file mode 100644
index 000000000..9d156c32c
--- /dev/null
+++ b/extra/pidgin-encryption/glib.patch
@@ -0,0 +1,12 @@
+diff -ru pidgin-encryption-3.1.orig/rsa_nss.c pidgin-encryption-3.1/rsa_nss.c
+--- pidgin-encryption-3.1.orig/rsa_nss.c 2012-12-26 13:57:18.637297343 +0100
++++ pidgin-encryption-3.1/rsa_nss.c 2012-12-26 14:00:37.782680833 +0100
+@@ -24,7 +24,7 @@
+ #include <debug.h>
+ #include <gtkdialogs.h>
+
+-#include "glib/gmain.h"
++#include <glib.h>
+
+ #include <string.h>
+ #include <assert.h>