[SCM] libinstpatch/master: Add patch to fix dead-lock. (Closes: #807823)
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sun Dec 18 10:59:00 UTC 2016
The following commit has been merged in the master branch:
commit 6e7dc1ac7d3831daa46014b495d098c056225160
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sun Dec 18 11:18:18 2016 +0100
Add patch to fix dead-lock. (Closes: #807823)
diff --git a/debian/patches/07-fix_dead_lock.patch b/debian/patches/07-fix_dead_lock.patch
new file mode 100644
index 0000000..f79187a
--- /dev/null
+++ b/debian/patches/07-fix_dead_lock.patch
@@ -0,0 +1,18 @@
+Description: Fix dead lock.
+Author: Joël Krähemann <jkraehemann at gmail.com>
+Bug-Debian: http://bugs.debian.org/807823
+Forwarded: no
+
+Index: libinstpatch/libinstpatch/IpatchBase.c
+===================================================================
+--- libinstpatch.orig/libinstpatch/IpatchBase.c
++++ libinstpatch/libinstpatch/IpatchBase.c
+@@ -231,7 +231,7 @@ ipatch_base_get_file (IpatchBase *base)
+ IPATCH_ITEM_RLOCK (base);
+ file = base->file;
+ if (file) g_object_ref (file);
+- IPATCH_ITEM_RLOCK (base);
++ IPATCH_ITEM_RUNLOCK (base);
+
+ return (file);
+ }
diff --git a/debian/patches/series b/debian/patches/series
index f0fc6d8..3202dce 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
04-fix_tests.patch
05-with_math_lib.patch
06-fix_for_binutils_gold.patch
+07-fix_dead_lock.patch
--
libinstpatch packaging
More information about the pkg-multimedia-commits
mailing list