libavc1394/libavc-fix-symbolexports.patch
Cristian Rodríguez 2d4f2a104f Accepting request 247610 from home:elvigia:branches:multimedia:libs
- Just like the companion librawxxx, this package has screwed 
  symbol names, fix them by exporting only the public API.
  (libavc-fix-symbolexports.patch)

OBS-URL: https://build.opensuse.org/request/show/247610
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libavc1394?expand=0&rev=9
2014-09-10 15:54:14 +00:00

21 lines
889 B
Diff

--- libavc1394-0.5.4.orig/librom1394/Makefile.am
+++ libavc1394-0.5.4/librom1394/Makefile.am
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = librom1394.la
-librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
+librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ -export-symbols-regex '^rom1394_' \
-version-info @lt_major@:@lt_revision@:@lt_age@ -lm
librom1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
librom1394_la_SOURCES = \
--- libavc1394-0.5.4.orig/libavc1394/Makefile.am
+++ libavc1394-0.5.4/libavc1394/Makefile.am
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = libavc1394.la
-libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
+libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ -export-symbols-regex '^avc1394_' \
-version-info @lt_major@:@lt_revision@:@lt_age@
libavc1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
libavc1394_la_SOURCES = \