summaryrefslogtreecommitdiff
path: root/extra/seahorse
diff options
context:
space:
mode:
Diffstat (limited to 'extra/seahorse')
-rw-r--r--extra/seahorse/10_gpgme_keyring_finalize_typo.patch21
-rw-r--r--extra/seahorse/PKGBUILD6
2 files changed, 26 insertions, 1 deletions
diff --git a/extra/seahorse/10_gpgme_keyring_finalize_typo.patch b/extra/seahorse/10_gpgme_keyring_finalize_typo.patch
new file mode 100644
index 000000000..86e9e23c3
--- /dev/null
+++ b/extra/seahorse/10_gpgme_keyring_finalize_typo.patch
@@ -0,0 +1,21 @@
+From 5286af2304b3a59a2deeb508433c13d96fe2287c Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@gnome.org>
+Date: Mon, 30 Apr 2012 18:29:42 +0000
+Subject: Fix typo in finalizing of GPGME keyring
+
+---
+diff --git a/pgp/seahorse-gpgme-keyring.c b/pgp/seahorse-gpgme-keyring.c
+index 79ff39b..579ab09 100644
+--- a/pgp/seahorse-gpgme-keyring.c
++++ b/pgp/seahorse-gpgme-keyring.c
+@@ -859,7 +859,7 @@ seahorse_gpgme_keyring_finalize (GObject *object)
+ {
+ SeahorseGpgmeKeyring *self = SEAHORSE_GPGME_KEYRING (object);
+
+- g_clear_object (self->pv->actions);
++ g_clear_object (&self->pv->actions);
+ g_hash_table_destroy (self->pv->keys);
+
+ /* All monitoring and scheduling should be done */
+--
+cgit v0.9.0.2
diff --git a/extra/seahorse/PKGBUILD b/extra/seahorse/PKGBUILD
index b671685ce..cadce200e 100644
--- a/extra/seahorse/PKGBUILD
+++ b/extra/seahorse/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=seahorse
pkgver=3.6.3
pkgrel=1
pkgdesc="GNOME application for managing PGP keys."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(GPL)
url="http://projects.gnome.org/seahorse/"
depends=(gtk3 gcr libsecret libsoup gpgme desktop-file-utils hicolor-icon-theme dconf)
@@ -24,6 +24,10 @@ sha256sums=('9b712da1989725547a8093e638725ee6de74d7870661545a15374c7ebf335cc1'
build() {
cd "$pkgname-$pkgver"
+
+ # From Debian.
+ patch -p1 -i "$srcdir/10_gpgme_keyring_finalize_typo.patch"
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-ldap --enable-hkp \