From 948f0ac5b9c489d4fa8cbb57fb7b8add86021e3a Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 27 Jul 2015 23:38:47 +0100 Subject: academic/celestia: Patched for libpng16. Fixes build failure on -current. Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- academic/celestia/celestia.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'academic/celestia/celestia.SlackBuild') 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 \ -- cgit v1.2.3