diff options
Diffstat (limited to 'games/supermariowar/supermariowar.SlackBuild')
-rw-r--r-- | games/supermariowar/supermariowar.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/supermariowar/supermariowar.SlackBuild b/games/supermariowar/supermariowar.SlackBuild index 37d84ea39c..416831766e 100644 --- a/games/supermariowar/supermariowar.SlackBuild +++ b/games/supermariowar/supermariowar.SlackBuild @@ -60,7 +60,13 @@ zcat $CWD/compilefixes.diff.gz | patch -p1 # the configure script isn't autoconf (yay), but it has CRLFs (boo) sed -i 's,\r,,g' configure -sh configure + +# 20151122 bkw: PNG screenshots stopped working in -current, let's check +# for it. When this is disabled, screenshots get saved as BMP instead. +[ "$( pkg-config --modversion libpng | cut -d. -f1,2 )" != "1.4" ] && \ + PNGOPT="--no-png-save" + +sh configure $PNGOPT sed -i "/^CFLAGS/s,$, $SLKCFLAGS -fpermissive," configuration make |