summaryrefslogtreecommitdiffstats
path: root/qcad
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-03-06 15:27:56 +0000
committer Eric Hameleers <alien@slackware.com>2008-03-06 15:27:56 +0000
commit424b378569f38882e5ed1a9fdbd9c30c380ff401 (patch)
tree6f5d7127fd1e2cdc10443bc407038fbbcc91766c /qcad
parent9ad2b6dcb948269165736b500357b503b031d77c (diff)
downloadasb-424b378569f38882e5ed1a9fdbd9c30c380ff401.tar.gz
asb-424b378569f38882e5ed1a9fdbd9c30c380ff401.tar.xz
Add patches for fixing common issues
Diffstat (limited to 'qcad')
-rwxr-xr-xqcad/build/qcad.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/qcad/build/qcad.SlackBuild b/qcad/build/qcad.SlackBuild
index 1ebb20c7..d58d56f4 100755
--- a/qcad/build/qcad.SlackBuild
+++ b/qcad/build/qcad.SlackBuild
@@ -158,6 +158,13 @@ for (( i = 0; i < ${#SOURCE[*]}; i++ )) ; do
done
mv ${PRGNAM}-${VERSION}-1-community.src ${PRGNAM}-${VERSION}
cd ${PRGNAM}-${VERSION}
+# Apply patches:
+patch -p1 < $SRCDIR/${PRGNAM}_64bit.patch -b -z .64bit \
+ 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
+patch -p1 < $SRCDIR/${PRGNAM}_nopedantic.patch -b -z .nopedantic \
+ 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log
+patch -p1 < $SRCDIR/${PRGNAM}_gcc43 -b -z .gcc43 \
+ 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log
chown -R root:root .
chmod -R u+w,go+r-w,a-s .