summaryrefslogtreecommitdiffstats
path: root/games/img2xterm/img2xterm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/img2xterm/img2xterm.SlackBuild')
-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 21345282bd..0726604b35 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 \