[SCM] vlc/master: Link vlc-cache-gen with the C++ standard library.

bdrung at users.alioth.debian.org bdrung at users.alioth.debian.org
Thu Mar 1 12:27:07 UTC 2012


The following commit has been merged in the master branch:
commit c22de38c260012afa869e2682f0b3a23bfa39f7b
Author: Benjamin Drung <bdrung at debian.org>
Date:   Thu Mar 1 12:51:20 2012 +0100

    Link vlc-cache-gen with the C++ standard library.
    
    Closes: #660934, #660935

diff --git a/debian/patches/link-vlc-cache-gen-with-c++.patch b/debian/patches/link-vlc-cache-gen-with-c++.patch
new file mode 100644
index 0000000..77aa978
--- /dev/null
+++ b/debian/patches/link-vlc-cache-gen-with-c++.patch
@@ -0,0 +1,28 @@
+From: Sam Hocevar <sam at hocevar.net>
+Subject: [PATCH] Link vlc-cache-gen with the C++ standard library to avoid
+ issues when we dlclose() a C++ plugin that was built with a
+ faulty library that may have registered __cxa_atexit
+ callbacks (usually through the libstdc++ that library was
+ built with).
+ .
+ Upgrading libstdc++ is not always a solution since some code may have been
+ inlined and we can't get rid of it.
+Origin: upstream, http://git.videolan.org/?p=vlc.git;a=commitdiff;h=07d38617832be934896fa7a14fe52f1a65c901ab
+Bug-Debian: http://bugs.debian.org/660934
+Bug-Debian: http://bugs.debian.org/660935
+
+--- a/bin/Makefile.am
++++ b/bin/Makefile.am
+@@ -59,7 +59,7 @@
+ vlc_win32_rc.$(OBJEXT): vlc_win32_rc.rc
+ 	$(WINDRES) --include-dir $(top_srcdir)/share/icons -i $< -o $@
+ 
+-vlc_cache_gen_SOURCES = cachegen.c
++vlc_cache_gen_SOURCES = cachegen.c dummy.cpp
+ vlc_cache_gen_LDADD = \
+ 	$(GNUGETOPT_LIBS) \
+ 	../compat/libcompat.la \
+--- /dev/null
++++ b/bin/dummy.cpp
+@@ -0,0 +1 @@
++/* This file is only here to force cachegen to be linked against libstdc++ */
diff --git a/debian/patches/series b/debian/patches/series
index 84ce1d1..b9b7109 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 bp-monotonic-clock.patch
 altivec-cflags.patch
 v4l-kfreebsd.patch
+link-vlc-cache-gen-with-c++.patch

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list