From 00aa5e2139feff2399dda2c90913197fc89cd83b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 8 Jan 2023 12:54:53 -0500 Subject: desktop/mhsetroot: Work around imlib2 breakage. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- desktop/mhsetroot/imlib2-config-fake | 4 ++++ desktop/mhsetroot/mhsetroot.SlackBuild | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 desktop/mhsetroot/imlib2-config-fake (limited to 'desktop') diff --git a/desktop/mhsetroot/imlib2-config-fake b/desktop/mhsetroot/imlib2-config-fake new file mode 100644 index 0000000000..e6c4f196d9 --- /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 d2b0c3c511..678211dc1a 100644 --- a/desktop/mhsetroot/mhsetroot.SlackBuild +++ b/desktop/mhsetroot/mhsetroot.SlackBuild @@ -24,6 +24,8 @@ # Now maintained by B. Watson . +# 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 \ -- cgit v1.2.3