summaryrefslogtreecommitdiffstats
path: root/soundtouch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-06-24 10:17:55 +0000
committer Eric Hameleers <alien@slackware.com>2007-06-24 10:17:55 +0000
commitb0556e1ea460a6cf5fb04b6c1736e614331ad0b0 (patch)
treef1f085f911394fac8df375ed3948ffc024e9da95 /soundtouch
parentbc7c3b445d8f838a910251ee8697137ef4f57856 (diff)
downloadasb-b0556e1ea460a6cf5fb04b6c1736e614331ad0b0.tar.gz
asb-b0556e1ea460a6cf5fb04b6c1736e614331ad0b0.tar.xz
Fixed the CRLF files in the source tarball, so that the patch applies
Diffstat (limited to 'soundtouch')
-rwxr-xr-xsoundtouch/build/soundtouch.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/soundtouch/build/soundtouch.SlackBuild b/soundtouch/build/soundtouch.SlackBuild
index 40d1026f..c80fdf09 100755
--- a/soundtouch/build/soundtouch.SlackBuild
+++ b/soundtouch/build/soundtouch.SlackBuild
@@ -149,11 +149,12 @@ cd ${PRGNAM}-${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# The .m4 file has CRLF at the line ends:
-sed -i -e 's/\r$//' soundtouch.m4
+# The .am files and .m4 file have CRLF at the line ends:
+find . -name "*.m4" -exec sed -i -e 's/\r$//' {} \;
+find . -name "Makefile.*" -exec sed -i -e 's/\r$//' {} \;
# Patch gcc flags:
-patch -p1 -b -z .optflags < $SRCDIR/${PRGNAM}_optflags.patch \
+patch -l -p1 -b -z .optflags < $SRCDIR/${PRGNAM}_optflags.patch \
2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
echo Building ...