aboutsummaryrefslogtreecommitdiff
path: root/desktop/mhsetroot
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/mhsetroot')
-rw-r--r--desktop/mhsetroot/imlib2-config-fake4
-rw-r--r--desktop/mhsetroot/mhsetroot.SlackBuild6
2 files changed, 10 insertions, 0 deletions
diff --git a/desktop/mhsetroot/imlib2-config-fake b/desktop/mhsetroot/imlib2-config-fake
new file mode 100644
index 000000000000..e6c4f196d9d5
--- /dev/null
+++ b/desktop/mhsetroot/imlib2-config-fake
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ "$1" = "--libs" ] && echo "-lImlib2"
+exit 0
diff --git a/desktop/mhsetroot/mhsetroot.SlackBuild b/desktop/mhsetroot/mhsetroot.SlackBuild
index d2b0c3c51178..678211dc1afb 100644
--- a/desktop/mhsetroot/mhsetroot.SlackBuild
+++ b/desktop/mhsetroot/mhsetroot.SlackBuild
@@ -24,6 +24,8 @@
# Now maintained by B. Watson <urchlay@slackware.uk>.
+# 20230108 bkw: BUILD=3, fix breakage due to imlib2-0.10.0.
+
# 20220208 bkw: BUILD=2
# - take over maintenance.
# - install AUTHORS and COPYING to doc dir.
@@ -86,6 +88,10 @@ 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 {} \+
+cat $CWD/imlib2-config-fake > imlib2-config
+chmod +x imlib2-config
+export PATH=$(pwd):$PATH
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
./configure \