summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta-multimedia/recipes-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb1
-rw-r--r--meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch42
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb b/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb
index 86ba52784..ba368a27f 100644
--- a/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb
+++ b/meta-multimedia/recipes-multimedia/cdparanoia/cdparanoia_10.2.bb
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=d370feaa1c9edcdbd29ca27ea3d2304d"
10SRC_URI = "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-${PV}.src.tgz \ 10SRC_URI = "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-${PV}.src.tgz \
11 file://0001-Use-DESTDIR-in-install-Makefile-rule.patch \ 11 file://0001-Use-DESTDIR-in-install-Makefile-rule.patch \
12 file://0002-interface-remove-C-reserved-keyword.patch \ 12 file://0002-interface-remove-C-reserved-keyword.patch \
13 file://0003-Fix-missing-shared-object-LDFLAGS.patch \
13" 14"
14SRC_URI[md5sum] = "b304bbe8ab63373924a744eac9ebc652" 15SRC_URI[md5sum] = "b304bbe8ab63373924a744eac9ebc652"
15SRC_URI[sha256sum] = "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df" 16SRC_URI[sha256sum] = "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df"
diff --git a/meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch b/meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch
new file mode 100644
index 000000000..5298a3dcf
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/cdparanoia/files/0003-Fix-missing-shared-object-LDFLAGS.patch
@@ -0,0 +1,42 @@
1From c0b77aeb2127da821ae1c03c2f98aaf4db65277d Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 10 Sep 2016 21:15:18 +0200
4Subject: [PATCH] Fix missing shared object LDFLAGS
5
6Upstream-Status: Inappropriate (the upstream project is dead)
7
8Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
9---
10 interface/Makefile.in | 2 +-
11 paranoia/Makefile.in | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/interface/Makefile.in b/interface/Makefile.in
15index 40c6098..020bf2a 100644
16--- a/interface/Makefile.in
17+++ b/interface/Makefile.in
18@@ -46,7 +46,7 @@ libcdda_interface.a: $(OFILES)
19 $(RANLIB) libcdda_interface.a
20
21 libcdda_interface.so: $(OFILES)
22- $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
23+ $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(LDFLAGS) $(OFILES) $(LIBS)
24 [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0
25 [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so
26
27diff --git a/paranoia/Makefile.in b/paranoia/Makefile.in
28index 89d0328..ffb4e70 100644
29--- a/paranoia/Makefile.in
30+++ b/paranoia/Makefile.in
31@@ -44,7 +44,7 @@ libcdda_paranoia.a: $(OFILES)
32 $(RANLIB) libcdda_paranoia.a
33
34 libcdda_paranoia.so: $(OFILES)
35- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface
36+ $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(LDFLAGS) $(OFILES) -L ../interface -lcdda_interface
37 [ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0
38 [ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so
39
40--
412.7.4
42