summaryrefslogtreecommitdiff
path: root/graphics/metapixel/metapixel.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-27 23:40:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit2796ef1f03f7a7b8868558b55612ba6d2d8b5fdf (patch)
treef66796d05e74681018596cc70344f5d661ba4ad9 /graphics/metapixel/metapixel.SlackBuild
parent78ed2440fdf229ef6e48c44efc197a65939c2b60 (diff)
downloadslackbuilds-2796ef1f03f7a7b8868558b55612ba6d2d8b5fdf.tar.gz
graphics/metapixel: Patched to build with libpng16 and 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/metapixel/metapixel.SlackBuild')
-rw-r--r--graphics/metapixel/metapixel.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/metapixel/metapixel.SlackBuild b/graphics/metapixel/metapixel.SlackBuild
index 07a2db5c53..f680bf172e 100644
--- a/graphics/metapixel/metapixel.SlackBuild
+++ b/graphics/metapixel/metapixel.SlackBuild
@@ -51,6 +51,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for libpng-1.5 and giflib-5.1 from rwimg git submodule
+# https://github.com/schani/rwimg
+patch -p1 < $CWD/metapixel-rwimg.patch
+
mkdir -p $PKG/usr/man/man1
make MANDIR=$PKG/man LDOPTS="-L/usr/X11R6/lib${LIBDIRSUFFIX}"