summaryrefslogtreecommitdiff
path: root/audio/xmms-arts/files/patch-ltmain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-arts/files/patch-ltmain.sh')
-rw-r--r--audio/xmms-arts/files/patch-ltmain.sh21
1 files changed, 15 insertions, 6 deletions
diff --git a/audio/xmms-arts/files/patch-ltmain.sh b/audio/xmms-arts/files/patch-ltmain.sh
index 8b4c238a1165..41741c1a9053 100644
--- a/audio/xmms-arts/files/patch-ltmain.sh
+++ b/audio/xmms-arts/files/patch-ltmain.sh
@@ -1,16 +1,25 @@
---- ltmain.sh.orig Wed Aug 6 19:13:39 2003
-+++ ltmain.sh Tue Nov 11 22:47:49 2003
-@@ -1084,6 +1084,13 @@
+--- ltmain.sh.orig Fri Sep 1 10:46:39 2000
++++ ltmain.sh Tue Nov 25 06:49:01 2003
+@@ -1091,6 +1091,13 @@
deplibs="$deplibs $arg"
- continue
;;
-+
+
+ -pthread)
+ compile_command="$compile_command -pthread"
+ finalize_command="$finalize_command -pthread"
+ compiler_flags="$compiler_flags -pthread"
+ continue
+ ;;
-
++
-module)
module=yes
+ continue
+@@ -1926,7 +1933,7 @@
+ set dummy $deplibs_check_method
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"$2 \(.*\)\"`"
+ for a_deplib in $deplibs; do
+- name="`expr $a_deplib : '-l\(.*\)'`"
++ name="`expr \( $a_deplib : '-l\(.*\)' \)`"
+ # If $name is empty we are operating on a -L argument.
+ if test "$name" != "" ; then
+ libname=`eval \\$echo \"$libname_spec\"`