summaryrefslogtreecommitdiff
path: root/academic/celestia/celestia.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-07-27 23:38:47 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit948f0ac5b9c489d4fa8cbb57fb7b8add86021e3a (patch)
tree76db60499e9b189e42b484fe4156d08232084c6d /academic/celestia/celestia.SlackBuild
parentfc050f8db59ed25c184581f57ad4c640d8e56a8e (diff)
downloadslackbuilds-948f0ac5b9c489d4fa8cbb57fb7b8add86021e3a.tar.gz
academic/celestia: Patched for libpng16.
Fixes build failure on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/celestia/celestia.SlackBuild')
-rw-r--r--academic/celestia/celestia.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/academic/celestia/celestia.SlackBuild b/academic/celestia/celestia.SlackBuild
index 1802c08d6d..4faaed06ae 100644
--- a/academic/celestia/celestia.SlackBuild
+++ b/academic/celestia/celestia.SlackBuild
@@ -72,9 +72,13 @@ find -L . \
# Note that the kde frontend will only build with kde3
FRONTEND=${FRONTEND:-gtk}
-# Fix incomatibility with gcc 4.7
+# Fix incompatibility with gcc 4.7
patch -p1 -i $CWD/celestia-1.6.1-gcc47.patch
+# Fix libpng incompatibilities (thanks to Arch Linux)
+patch -p0 -i $CWD/celestia-1.6.1-libpng15.patch
+patch -p2 -i $CWD/celestia-1.6.1-libpng16.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \