From 63de6753a286c42fbb77b4ed7926957551ca3758 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 12 Sep 2012 20:52:07 +0200 Subject: academic/celestia: Added patch for gcc 4.7. Signed-off-by: Heinz Wiesinger --- academic/celestia/celestia.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'academic/celestia/celestia.SlackBuild') diff --git a/academic/celestia/celestia.SlackBuild b/academic/celestia/celestia.SlackBuild index 4c804df18b..ab14f626f1 100644 --- a/academic/celestia/celestia.SlackBuild +++ b/academic/celestia/celestia.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=celestia VERSION=1.6.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,6 +72,9 @@ find . \ # Note that the kde frontend will only build with kde3 FRONTEND=${FRONTEND:-gtk} +# Fix incomatibility with gcc 4.7 +patch -p1 -i $CWD/celestia-1.6.1-gcc47.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3