aboutsummaryrefslogtreecommitdiff
path: root/games/img2xterm
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-11-23 11:09:14 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:30:03 -0500
commit0d782020366bb6b5d5ee34849ebb37cc15faaaa0 (patch)
tree5129a7ba496f752d19854e59a121146f3b98d6a6 /games/img2xterm
parent065518d418c50da81a6ae4c736c738915f4a5284 (diff)
games/img2xterm: Patch for imagemagick >=7.x.
Thanks to USUARIONUEVO on LQ Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/img2xterm')
-rw-r--r--games/img2xterm/img2xterm.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/img2xterm/img2xterm.SlackBuild b/games/img2xterm/img2xterm.SlackBuild
index 21345282bd6a..0726604b35df 100644
--- a/games/img2xterm/img2xterm.SlackBuild
+++ b/games/img2xterm/img2xterm.SlackBuild
@@ -50,6 +50,9 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# Fix an header path for imagemagick >= 7.x
+sed -i "s|wand/MagickWand|MagickWand/MagickWand|" img2xterm.c
+
# Hardcoded stuffs. The LN line turns the absolute symlinks into
# relative, so we don't end up with links to $PKG.
sed -i \