[SCM] MLT multimedia framework packaging branch, master, updated. debian/0.8.0-3-2-g050375f

Patrick Matthäi pmatthaei at alioth.debian.org
Tue Aug 28 18:36:06 UTC 2012


Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/mlt.git;a=commitdiff;h=050375f

The following commit has been merged in the master branch:
commit 050375f561bfdc53dfd2ecf284bdfc469f8bfe2c
Author: Patrick Matthäi <pmatthaei at debian.org>
Date:   Tue Aug 28 20:35:57 2012 +0200

    * Add upstream patch 05-ladspa-crash, which fixes a potential LADSPA crash
      on dlclose().
---
 debian/changelog                    |    2 ++
 debian/patches/05-ladspa-crash.diff |   14 ++++++++++++++
 debian/patches/series               |    1 +
 3 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9c93230..7faae01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ mlt (0.8.0-4) UNRELEASED; urgency=low
 
   * Add upstream patch 04-cache-memory-leak, which fixes a memory leak when
     using mlt_cache for frames.
+  * Add upstream patch 05-ladspa-crash, which fixes a potential LADSPA crash
+    on dlclose().
 
  -- Patrick Matthäi <pmatthaei at debian.org>  Tue, 28 Aug 2012 20:31:07 +0200
 
diff --git a/debian/patches/05-ladspa-crash.diff b/debian/patches/05-ladspa-crash.diff
new file mode 100644
index 0000000..2038158
--- /dev/null
+++ b/debian/patches/05-ladspa-crash.diff
@@ -0,0 +1,14 @@
+# Upstream patch to fix some LADSPA crashing on dlclose on some systems.
+
+diff -Naur mlt-0.8.0.orig/src/modules/jackrack/plugin_mgr.c mlt-0.8.0/src/modules/jackrack/plugin_mgr.c
+--- mlt-0.8.0.orig/src/modules/jackrack/plugin_mgr.c	2012-06-01 22:51:32.000000000 +0200
++++ mlt-0.8.0/src/modules/jackrack/plugin_mgr.c	2012-08-28 20:32:35.782841105 +0200
+@@ -80,7 +80,7 @@
+   int err;
+   
+   /* open the object file */
+-  dl_handle = dlopen (filename, RTLD_LAZY);
++  dl_handle = dlopen (filename, RTLD_NOW);
+   if (!dl_handle)
+     {
+       mlt_log_info( NULL, "%s: error opening shared object file '%s': %s
",
diff --git a/debian/patches/series b/debian/patches/series
index a498a74..fd2dabd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 02-allow-file-prefix.diff
 03-audio-limits-and-crash.diff
 04-cache-memory-leak.diff
+05-ladspa-crash.diff

-- 
MLT multimedia framework packaging



More information about the pkg-kde-commits mailing list