aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-arts_output/files/patch-ltmain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-arts_output/files/patch-ltmain.sh')
-rw-r--r--audio/xmms-arts_output/files/patch-ltmain.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/xmms-arts_output/files/patch-ltmain.sh b/audio/xmms-arts_output/files/patch-ltmain.sh
new file mode 100644
index 000000000000..f9b9343c2295
--- /dev/null
+++ b/audio/xmms-arts_output/files/patch-ltmain.sh
@@ -0,0 +1,25 @@
+--- ltmain.sh.orig Wed Aug 6 19:13:39 2003
++++ ltmain.sh Tue Nov 11 22:47:49 2003
+@@ -1075,7 +1075,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1084,6 +1084,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