diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-08-01 09:01:21 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-14 22:30:33 -0500 |
commit | c79a84612163d7ea0ca0537e6daaccaddc056f3d (patch) | |
tree | e5d91284e6ee2c2287e1b4747544c0225939c9d2 /office/texstudio/texstudio.SlackBuild | |
parent | 2f8fed5d82b45a6616db005f45ed2769b4b4a21c (diff) | |
download | slackbuilds-c79a84612163d7ea0ca0537e6daaccaddc056f3d.tar.gz |
office/texstudio: Patched for gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/texstudio/texstudio.SlackBuild')
-rw-r--r-- | office/texstudio/texstudio.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/office/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild index 0cb05b7c69..8d88d3f44f 100644 --- a/office/texstudio/texstudio.SlackBuild +++ b/office/texstudio/texstudio.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=texstudio VERSION=${VERSION:-2.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,6 +54,9 @@ find . \ # Fix .desktop item. sed -i -e '/^Encoding/d' -e "/^Icon/s|=.*|=$PRGNAM|" utilities/texstudio.desktop +# Patch from upstream in order to build against gcc 4.7.x. +patch -p1 < $CWD/gcc-4.7.patch + qmake PREFIX=/usr LIBS+="-L/usr/lib${LIBDIRSUFFIX}" CONFIG-=debug -o Makefile $PRGNAM.pro make \ |