aboutsummaryrefslogtreecommitdiff
path: root/office/mytetra/mytetra.SlackBuild
diff options
context:
space:
mode:
authorAndrey Maraev <andrew.maraev60@yandex.ru>2012-09-10 22:21:34 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 22:21:34 -0500
commit52b0c31ba866948fcfb18c3a3edfe28ca4c57864 (patch)
treec9c218e6407f19b54d8c861d9e882da69476e7a1 /office/mytetra/mytetra.SlackBuild
parent4c080ce3974eb7ec29caf5c7d43658fe9e784163 (diff)
office/mytetra: Patched to build with gcc47
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/mytetra/mytetra.SlackBuild')
-rw-r--r--office/mytetra/mytetra.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/office/mytetra/mytetra.SlackBuild b/office/mytetra/mytetra.SlackBuild
index d1f191a8deac4..76b0111d55412 100644
--- a/office/mytetra/mytetra.SlackBuild
+++ b/office/mytetra/mytetra.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=mytetra
VERSION=${VERSION:-1.30.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,7 +53,10 @@ find . \
-exec chmod 644 {} \;
# Correct target path in file mytetra.pro
-sed 's/\/usr\/local\/bin/\/usr\/bin/g' -i mytetra.pro
+sed "s,/usr/local/bin,/usr/bin,g" -i mytetra.pro
+
+# Patch fix gcc 4.7
+patch -p0 -i $CWD/mytetra-gcc4.7.patch
qmake \
QMAKE_CFLAGS="$SLKCFLAGS" \