[arch-commits] Commit in gnubiff-gtk/trunk (PKGBUILD mutex.patch)
Sergej Pupykin
spupykin at archlinux.org
Thu Feb 12 14:46:02 UTC 2015
Date: Thursday, February 12, 2015 @ 15:46:02
Author: spupykin
Revision: 127612
upgpkg: gnubiff-gtk 2.2.15-3
upd
Added:
gnubiff-gtk/trunk/mutex.patch
Modified:
gnubiff-gtk/trunk/PKGBUILD
-------------+
PKGBUILD | 13 ++++++++++---
mutex.patch | 13 +++++++++++++
2 files changed, 23 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-12 14:42:00 UTC (rev 127611)
+++ PKGBUILD 2015-02-12 14:46:02 UTC (rev 127612)
@@ -5,7 +5,7 @@
pkgname=gnubiff-gtk
pkgver=2.2.15
-pkgrel=2
+pkgrel=3
pkgdesc="Mail notification program that checks for mail and displays headers when new mail has arrived. GTK version."
arch=('i686' 'x86_64')
url="http://gnubiff.sourceforge.net/"
@@ -13,9 +13,16 @@
depends=('libglade' 'gtk3' 'openssl' 'popt')
makedepends=('intltool')
conflicts=('gnubiff')
-source=(http://downloads.sourceforge.net/sourceforge/gnubiff/gnubiff-$pkgver.tar.gz)
-md5sums=('c705e1135b0bd4c8d8f7ce72ca7b5443')
+source=(http://downloads.sourceforge.net/sourceforge/gnubiff/gnubiff-$pkgver.tar.gz
+ mutex.patch)
+md5sums=('c705e1135b0bd4c8d8f7ce72ca7b5443'
+ '76de63fbc4a1487560cfae210fc1d6e4')
+prepare() {
+ cd $srcdir/gnubiff-$pkgver
+ patch -p1 <$srcdir/mutex.patch
+}
+
build() {
cd $srcdir/gnubiff-$pkgver
export LDFLAGS="-lgthread-2.0 -lX11"
Added: mutex.patch
===================================================================
--- mutex.patch (rev 0)
+++ mutex.patch 2015-02-12 14:46:02 UTC (rev 127612)
@@ -0,0 +1,13 @@
+diff --git a/src/mailbox.cc b/src/mailbox.cc
+index 0fa4af3..23b29a9 100644
+--- a/src/mailbox.cc
++++ b/src/mailbox.cc
+@@ -104,7 +104,7 @@ Mailbox::~Mailbox (void)
+ g_mutex_unlock (mutex_);
+
+ // Free all mutexes
+- g_mutex_unlock (mutex_);
++ g_mutex_free (mutex_);
+ g_mutex_lock (monitor_mutex_);
+ g_mutex_unlock (monitor_mutex_);
+ g_mutex_free (monitor_mutex_);
More information about the arch-commits
mailing list