summaryrefslogtreecommitdiffstats
path: root/package/vlc/0005-libvorbisidec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/vlc/0005-libvorbisidec.patch')
-rw-r--r--package/vlc/0005-libvorbisidec.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/vlc/0005-libvorbisidec.patch b/package/vlc/0005-libvorbisidec.patch
new file mode 100644
index 0000000000..155e069499
--- /dev/null
+++ b/package/vlc/0005-libvorbisidec.patch
@@ -0,0 +1,18 @@
+Fixes linking error with tremor due to wrong library name
+
+Downloaded from Gentoo package
+https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch?view=markup
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+--- a/modules/codec/Makefile.am
++++ b/modules/codec/Makefile.am
+@@ -215,7 +215,7 @@
+ libtremor_plugin_la_SOURCES = codec/vorbis.c
+ libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor
+ libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
+-libtremor_plugin_la_LIBADD = -lvorbisdec -logg
++libtremor_plugin_la_LIBADD = $(VORBIS_LIBS) $(OGG_LIBS)
+ EXTRA_LTLIBRARIES += libtremor_plugin.la
+ codec_LTLIBRARIES += $(LTLIBtremor)
+
OpenPOWER on IntegriCloud