summaryrefslogtreecommitdiff
path: root/graphics/fbv/fbv.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-09-17 22:46:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit44e9e0e14166749573afb6cd222e186add2652a8 (patch)
treea1605a1d8aed85364b602f4a48066f422a61e544 /graphics/fbv/fbv.SlackBuild
parentb0b6d7064731a51a1025a4283e36632f82f320f6 (diff)
downloadslackbuilds-44e9e0e14166749573afb6cd222e186add2652a8.tar.gz
graphics/fbv: Fixed build with giflib-5.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/fbv/fbv.SlackBuild')
-rw-r--r--graphics/fbv/fbv.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/fbv/fbv.SlackBuild b/graphics/fbv/fbv.SlackBuild
index 90252b9f35..5a38877d22 100644
--- a/graphics/fbv/fbv.SlackBuild
+++ b/graphics/fbv/fbv.SlackBuild
@@ -77,6 +77,10 @@ patch -p1 < $CWD/manhelp.diff
# have to do this instead, to use our CFLAGS:
sed -i "s,-O2,$SLKCFLAGS," Makefile
+# Fix build with giflib-5.1 and libpng16 (thanks to Arch)
+patch -p1 < $CWD/giflib-5.1.patch
+sed -i 's|setjmp(png_ptr->jmpbuf)|setjmp(png_jmpbuf(png_ptr))|' png.c
+
make
strip $PRGNAM
mkdir -p $PKG/usr/bin $PKG/usr/man/man1