[arch-commits] Commit in gnubiff/trunk (PKGBUILD mutex.patch)

Sergej Pupykin spupykin at archlinux.org
Wed Jan 14 11:22:00 UTC 2015


    Date: Wednesday, January 14, 2015 @ 12:21:59
  Author: spupykin
Revision: 125909

upgpkg: gnubiff 2.2.15-3

upd

Added:
  gnubiff/trunk/mutex.patch
Modified:
  gnubiff/trunk/PKGBUILD

-------------+
 PKGBUILD    |   13 ++++++++++---
 mutex.patch |   13 +++++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-14 11:21:50 UTC (rev 125908)
+++ PKGBUILD	2015-01-14 11:21:59 UTC (rev 125909)
@@ -5,7 +5,7 @@
 
 pkgname=gnubiff
 pkgver=2.2.15
-pkgrel=2
+pkgrel=3
 pkgdesc="Mail notification program that checks for mail and displays headers when new mail has arrived"
 arch=('i686' 'x86_64')
 url="http://gnubiff.sourceforge.net/"
@@ -13,9 +13,16 @@
 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
+	mutex.patch)
+md5sums=('c705e1135b0bd4c8d8f7ce72ca7b5443'
+         '76de63fbc4a1487560cfae210fc1d6e4')
 
+prepare() {
+  cd $srcdir/gnubiff-$pkgver
+  patch -p1 <$srcdir/mutex.patch
+}
+
 build() {
   [ "$GNOMEDIR" = "" ] && GNOMEDIR=/usr
   cd $srcdir/gnubiff-$pkgver

Added: mutex.patch
===================================================================
--- mutex.patch	                        (rev 0)
+++ mutex.patch	2015-01-14 11:21:59 UTC (rev 125909)
@@ -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