aboutsummaryrefslogtreecommitdiff
path: root/graphics/plotutils/plotutils.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-04 01:26:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit663e45789f542ae166fde8dcc7dee8ecbed8db31 (patch)
tree5936138db9189e439064e23cb74c213213057cdd /graphics/plotutils/plotutils.SlackBuild
parent32920bf6d93d818be5334f6edd79afeb287023ce (diff)
graphics/plotutils: Patched SlackBuild.
Fixes build failure with libpng16 on -current. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/plotutils/plotutils.SlackBuild')
-rw-r--r--graphics/plotutils/plotutils.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/plotutils/plotutils.SlackBuild b/graphics/plotutils/plotutils.SlackBuild
index d935b9d413589..9f769eaaa7d27 100644
--- a/graphics/plotutils/plotutils.SlackBuild
+++ b/graphics/plotutils/plotutils.SlackBuild
@@ -51,6 +51,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix build with libpng16 (-current) (patch from Arch Linux)
+patch -p0 < $CWD/plotutils-2.6-libpng-1.5.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \