summaryrefslogtreecommitdiffstats
path: root/audio-libs/soundtouch/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'audio-libs/soundtouch/PRE_BUILD')
-rwxr-xr-xaudio-libs/soundtouch/PRE_BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio-libs/soundtouch/PRE_BUILD b/audio-libs/soundtouch/PRE_BUILD
index 4030189508..ed29005e01 100755
--- a/audio-libs/soundtouch/PRE_BUILD
+++ b/audio-libs/soundtouch/PRE_BUILD
@@ -1,5 +1,9 @@
default_pre_build &&
-cd $SOURCE_DIRECTORY &&
+cd "$SOURCE_DIRECTORY" &&
+
+# Assembly code still broken on x86-64 ... instant segfault.
+# Got this patch idea from the ArchLinux folks.
+patch -Np0 < "$SCRIPT_DIRECTORY/soundtouch-1.5.0-x86_64-asm-broken.patch" &&
sed -i "s:COPYING.TXT README.html:README.html\npkgdocdir=\$(datadir)/doc/soundtouch:" \
Makefile.am &&