[SCM] twolame/master: Limited exported symbols
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Wed Nov 9 22:31:00 UTC 2016
The following commit has been merged in the master branch:
commit c33e5079a64e66074c3e2085f2619090e889d4be
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Wed Nov 9 23:12:23 2016 +0100
Limited exported symbols
diff --git a/debian/patches/export-symbols.patch b/debian/patches/export-symbols.patch
new file mode 100644
index 0000000..e87828a
--- /dev/null
+++ b/debian/patches/export-symbols.patch
@@ -0,0 +1,14 @@
+Description: Limit exported symbols to functions from twolame.h
+Author: Sebastian Ramacher <sramacher at debian.org>
+Last-Update: 2016-11-09
+
+--- twolame-0.3.13.orig/libtwolame/Makefile.am
++++ twolame-0.3.13/libtwolame/Makefile.am
+@@ -4,6 +4,7 @@ lib_LTLIBRARIES = libtwolame.la
+ include_HEADERS = twolame.h
+
+ libtwolame_la_LDFLAGS = -export-dynamic -version-info @TWOLAME_SO_VERSION@
++libtwolame_la_LDFLAGS += -export-symbols-regex '^twolame_|get_twolame'
+ libtwolame_la_SOURCES = \
+ ath.c \
+ ath.h \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..29355f1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+export-symbols.patch
--
twolame packaging
More information about the pkg-multimedia-commits
mailing list