summaryrefslogtreecommitdiff
path: root/graphics/metapixel/metapixel.SlackBuild
diff options
context:
space:
mode:
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}"