summaryrefslogtreecommitdiff
path: root/graphics/plotutils/plotutils.SlackBuild
diff options
context:
space:
mode:
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 d935b9d413..9f769eaaa7 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 \