summaryrefslogtreecommitdiffstats
path: root/desktop/wmakerconf/patches/patch-configure
diff options
context:
space:
mode:
author Matteo Bernardini2021-04-07 19:43:09 +0200
committer Matteo Bernardini2021-04-07 19:43:09 +0200
commitfc3c9447da6cded0b6741cf3e6c2386c16493440 (patch)
tree4e2d3e3a7ba5c8cb879728d8e965da94d1fd4850 /desktop/wmakerconf/patches/patch-configure
parenta6bf666d73b4dccae0636e4ca04113d5953b956c (diff)
downloadslackbuilds-fc3c9447da6cded0b6741cf3e6c2386c16493440.tar.gz
20210407.1 global branch merge.current-20210407.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/wmakerconf/patches/patch-configure')
-rw-r--r--desktop/wmakerconf/patches/patch-configure38
1 files changed, 38 insertions, 0 deletions
diff --git a/desktop/wmakerconf/patches/patch-configure b/desktop/wmakerconf/patches/patch-configure
new file mode 100644
index 0000000000..c7dcb3cc6a
--- /dev/null
+++ b/desktop/wmakerconf/patches/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig 2007-04-12 10:52:31 UTC
++++ configure
+@@ -3458,7 +3458,7 @@ fi
+ libwmfun="no"
+ # Checks for wraster lib
+ # Extract the first word of "get-wings-flags", so it can be a program name with args.
+-set dummy get-wings-flags; ac_word=$2
++set dummy pkg-config; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_wraster+set}" = set; then
+@@ -3486,7 +3486,7 @@ done
+ ;;
+ esac
+ fi
+-wraster=$ac_cv_path_wraster
++wraster="$ac_cv_path_wraster wrlib"
+
+ if test -n "$wraster"; then
+ echo "$as_me:$LINENO: result: $wraster" >&5
+@@ -3497,7 +3497,7 @@ echo "${ECHO_T}no" >&6
+ fi
+
+ if test -n "$wraster"; then
+- WRASTERLIBS=`($wraster --ldflags --libs 2>/dev/null || $wraster --lflags --libs) | xargs`
++ WRASTERLIBS=`$wraster --libs`
+ WRASTERINCLUDES=`$wraster --cflags`
+ MKPREVIEW="mkpreview"
+ OLD_LDFLAGS="$LDFLAGS"
+@@ -5818,7 +5818,7 @@ echo "${ECHO_T}yes" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+- for ac_prog in lynx wget
++ for ac_prog in lynx fetch
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2