pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/wdm wdm: fix build with newer WindowMaker



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7c7de0b501a
branches:  trunk
changeset: 450275:a7c7de0b501a
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Apr 13 10:35:27 2021 +0000

description:
wdm: fix build with newer WindowMaker

patch from FreeBSD Ports

diffstat:

 x11/wdm/distinfo                |   3 ++-
 x11/wdm/patches/patch-configure |  38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletions(-)

diffs (57 lines):

diff -r da52789db870 -r a7c7de0b501a x11/wdm/distinfo
--- a/x11/wdm/distinfo  Tue Apr 13 10:28:10 2021 +0000
+++ b/x11/wdm/distinfo  Tue Apr 13 10:35:27 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2015/11/04 03:28:56 agc Exp $
+$NetBSD: distinfo,v 1.12 2021/04/13 10:35:27 nia Exp $
 
 SHA1 (wdm-1.28.tar.gz) = eb806c5057bc69452547e4c78813e00f91bebe3b
 RMD160 (wdm-1.28.tar.gz) = c64d604e7f2fad68a298fb4fe0e655b1aa3a7b3b
@@ -6,4 +6,5 @@
 Size (wdm-1.28.tar.gz) = 409544 bytes
 SHA1 (patch-aa) = 7dc96ecf4d8e492bec54c5e6f2b9e5d6ec651103
 SHA1 (patch-ab) = 0a63e3b18aa002ece5c9f63ce6dbcdd9e0dbdb03
+SHA1 (patch-configure) = f2309d16215f4f50004ed483d1f728f7a1e60797
 SHA1 (patch-src_wdm_util.c) = 51c22f471d6e9cdde1fd4cb1cd06b11974529628
diff -r da52789db870 -r a7c7de0b501a x11/wdm/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/wdm/patches/patch-configure   Tue Apr 13 10:35:27 2021 +0000
@@ -0,0 +1,38 @@
+$NetBSD: patch-configure,v 1.1 2021/04/13 10:35:27 nia Exp $
+
+Replace use of get-wings-flags with pkg-config, since newer
+WindowMaker no longer has get-wings-flags. from FreeBSD Ports.
+
+--- configure.orig     2005-03-26 13:57:04.000000000 +0000
++++ configure
+@@ -6313,7 +6313,7 @@ fi
+ fi
+ 
+ # 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_prog_GETWINGSFLAGS+set}" = set; then
+@@ -6353,9 +6353,9 @@ echo "$as_me: error: 'get-wings-flags' c
+    { (exit 1); exit 1; }; }
+ fi
+ 
+-WCFLAGS=`get-wings-flags --cflags`
+-WLDFLAGS=`get-wings-flags --ldflags`
+-WLIBS=`get-wings-flags --libs`
++WCFLAGS=`pkg-config WINGs --cflags`
++WLDFLAGS=
++WLIBS=`pkg-config WINGs --libs`
+ 
+ 
+ 
+@@ -6506,7 +6506,7 @@ _ACEOF
+ 
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define DEF_AUTH_DIR "$DMDIR/authdir"
++#define DEF_AUTH_DIR "$DMDIR"
+ _ACEOF
+ 
+ 



Home | Main Index | Thread Index | Old Index