summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch')
-rw-r--r--media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch
new file mode 100644
index 000000000000..d6a855bda6b8
--- /dev/null
+++ b/media-libs/libjackasyn/files/libjackasyn-0.13-libdir.patch
@@ -0,0 +1,27 @@
+diff -u -r libjackasyn-0.13.old/jacklaunch.in libjackasyn-0.13/jacklaunch.in
+--- libjackasyn-0.13.old/jacklaunch.in 2007-02-04 14:07:28.000000000 +0100
++++ libjackasyn-0.13/jacklaunch.in 2007-02-04 14:08:17.000000000 +0100
+@@ -26,18 +26,20 @@
+
+ PREFIX=@prefix@
+
++LIBDIR=@libdir@
++
+ LD_PRELOAD_OLD=""
+
+ if test "$LD_PRELOAD" != ""
+ then
+ LD_PRELOAD_OLD=$LD_PRELOAD
+- PRELOAD=$LD_PRELOAD:$PREFIX/lib/libjackasyn.so.0
++ PRELOAD=$LD_PRELOAD:$LIBDIR/libjackasyn.so.0
+ else
+- PRELOAD=$PREFIX/lib/libjackasyn.so.0
++ PRELOAD=$LIBDIR/libjackasyn.so.0
+ fi
+
+
+-if test -f $PREFIX/lib/libjackasyn.so.0 -a "$jackcnt" != "0"
++if test -f $LIBDIR/libjackasyn.so.0 -a "$jackcnt" != "0"
+ then
+ export LD_PRELOAD=$PRELOAD
+ fi