summaryrefslogtreecommitdiff
path: root/libraries/fltk/fltk.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-07 23:27:44 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit84afdd9a1ab860a0ce715b53d174434453dbbe3f (patch)
treeb66987cb7886ecc3efcd21f487c565d59aefd006 /libraries/fltk/fltk.SlackBuild
parent09a365f37abda8dd0cb6537579f77d800e6f3d63 (diff)
downloadslackbuilds-84afdd9a1ab860a0ce715b53d174434453dbbe3f.tar.gz
libraries/fltk: Patched SlackBuild.
Fixes build failure with libpng16 on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/fltk/fltk.SlackBuild')
-rw-r--r--libraries/fltk/fltk.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild
index ba899ee152..3216b7a0bb 100644
--- a/libraries/fltk/fltk.SlackBuild
+++ b/libraries/fltk/fltk.SlackBuild
@@ -80,6 +80,9 @@ sed -i \
-e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \
src/Makefile || exit
+# Fix for libpng16 (-current) snarfed from Debian ;-)
+patch -p1 < $CWD/fltk-1.1.10_libpng.patch
+
# --docdir seems to be ignored
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \