aboutsummaryrefslogtreecommitdiff
path: root/academic/celestia/celestia.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-09-12 20:52:07 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-12 14:19:24 -0500
commit63de6753a286c42fbb77b4ed7926957551ca3758 (patch)
tree281a3eb23c49a810527d8a8ecb527b287ec3d192 /academic/celestia/celestia.SlackBuild
parent32bf78acd6829dad436a688e58c0530d9459ba97 (diff)
academic/celestia: Added patch for gcc 4.7.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'academic/celestia/celestia.SlackBuild')
-rw-r--r--academic/celestia/celestia.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/academic/celestia/celestia.SlackBuild b/academic/celestia/celestia.SlackBuild
index 4c804df18b2ad..ab14f626f1847 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 \