diff options
author | Sam James <sam@gentoo.org> | 2021-03-19 03:57:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-19 04:11:48 +0000 |
commit | c4c7c3fa3c9ebd64c320092595932545d0ea6e82 (patch) | |
tree | b1578eb7326b861ff46e92b32c207099b30b1e07 /media-libs/libdca | |
parent | dev-vcs/git-pw: add version 2.0.0 (diff) | |
download | gentoo-c4c7c3fa3c9ebd64c320092595932545d0ea6e82.tar.gz gentoo-c4c7c3fa3c9ebd64c320092595932545d0ea6e82.tar.bz2 gentoo-c4c7c3fa3c9ebd64c320092595932545d0ea6e82.zip |
media-libs/libdca: fix build with slibtool
Closes: https://bugs.gentoo.org/775602
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libdca')
-rw-r--r-- | media-libs/libdca/files/libdca-0.0.7-slibtool.patch | 22 | ||||
-rw-r--r-- | media-libs/libdca/libdca-0.0.7.ebuild | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/media-libs/libdca/files/libdca-0.0.7-slibtool.patch b/media-libs/libdca/files/libdca-0.0.7-slibtool.patch new file mode 100644 index 000000000000..cd6b89d060e7 --- /dev/null +++ b/media-libs/libdca/files/libdca-0.0.7-slibtool.patch @@ -0,0 +1,22 @@ +https://code.videolan.org/videolan/libdca/-/issues/4 +https://bugs.gentoo.org/775602 + +commit c54898d587fda740b10e32055c5464eeae289889 +Author: orbea <orbea@riseup.net> +Date: Tue Mar 16 10:21:52 2021 -0700 + + build: Fix -version-info and -export-symbols-regex typos. + +diff --git a/libdca/Makefile.am b/libdca/Makefile.am +index 05bdaca..891fb25 100644 +--- a/libdca/Makefile.am ++++ b/libdca/Makefile.am +@@ -5,7 +5,7 @@ lib_LTLIBRARIES = libdca.la + libdca_la_SOURCES = dca_internal.h tables.h tables_quantization.h \ + tables_huffman.h tables_fir.h tables_adpcm.h tables_vq.h \ + bitstream.h bitstream.c parse.c downmix.c +-libdca_la_LDFLAGS = -no-undefined -version 0:0:0 -export-symbol-regex dca_.* ++libdca_la_LDFLAGS = -no-undefined -version-info 0:0:0 -export-symbols-regex dca_.* + libdca_la_LIBADD = $(LIBDCA_LIBS) + + pkgconfigdir = $(libdir)/pkgconfig diff --git a/media-libs/libdca/libdca-0.0.7.ebuild b/media-libs/libdca/libdca-0.0.7.ebuild index 177a74cd0a33..a273f17b90e0 100644 --- a/media-libs/libdca/libdca-0.0.7.ebuild +++ b/media-libs/libdca/libdca-0.0.7.ebuild @@ -19,6 +19,7 @@ DOCS=( AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt ) PATCHES=( "${FILESDIR}"/${PN}-0.0.5-cflags.patch "${FILESDIR}"/${PN}-0.0.5-tests-optional.patch + "${FILESDIR}"/${PN}-0.0.7-slibtool.patch ) src_prepare() { |