summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-02-23 09:40:27 -0600
committerBen Kohler <bkohler@gentoo.org>2022-02-23 09:41:51 -0600
commitc9a7edb15e642ddc4ca6cac06c758bc0fe3c4ef0 (patch)
treeb8ba2f5a146404a12ff065038dd08471fa51c22a /media-libs/libcdaudio/files
parentdev-libs/libpipeline: stable 1.5.5 for hppa, bug #833640 (diff)
downloadgentoo-c9a7edb15e642ddc4ca6cac06c758bc0fe3c4ef0.tar.gz
gentoo-c9a7edb15e642ddc4ca6cac06c758bc0fe3c4ef0.tar.bz2
gentoo-c9a7edb15e642ddc4ca6cac06c758bc0fe3c4ef0.zip
media-libs/libcdaudio: fix hardcoded /usr/lib in libcdaudio-config
Bug: https://bugs.gentoo.org/832199 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'media-libs/libcdaudio/files')
-rw-r--r--media-libs/libcdaudio/files/libcdaudio-0.99.12-libdir-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libcdaudio/files/libcdaudio-0.99.12-libdir-fix.patch b/media-libs/libcdaudio/files/libcdaudio-0.99.12-libdir-fix.patch
new file mode 100644
index 000000000000..96ee6fabf69d
--- /dev/null
+++ b/media-libs/libcdaudio/files/libcdaudio-0.99.12-libdir-fix.patch
@@ -0,0 +1,12 @@
+diff -ur a/libcdaudio-config.in b/libcdaudio-config.in
+--- a/libcdaudio-config.in 2022-02-23 09:34:38.948920631 -0600
++++ b/libcdaudio-config.in 2022-02-23 09:34:56.239410252 -0600
+@@ -49,7 +49,7 @@
+ echo @LIB_LDADD@
+ ;;
+ --libs)
+- libdir=-L${exec_prefix}/lib
++ libdir=-L${exec_prefix}@libdir@
+ echo $libdir -lcdaudio @LIBS@
+ ;;
+ *)