From 0c22952c71bd44d39f3b91546bec5297be6de071 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Mon, 24 Oct 2022 12:03:01 +0900 Subject: build: Update gpg-error.m4. * m4/gpg-error.m4: Update from libgpg-error 1.46. -- Signed-off-by: NIIBE Yutaka --- m4/gpg-error.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4 index 4b5cd40..a975e53 100644 --- a/m4/gpg-error.m4 +++ b/m4/gpg-error.m4 @@ -10,7 +10,7 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# Last-changed: 2022-02-15 +# Last-changed: 2022-09-21 dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION, @@ -120,6 +120,10 @@ AC_DEFUN([AM_PATH_GPG_ERROR], fi if test -n "$gpgrt_libdir"; then break; fi done + if test -z "$libdir_candidates"; then + # No valid pkgconfig dir in any of the system directories, fallback + gpgrt_libdir=${possible_libdir1} + fi else # When we cannot determine system libdir-format, use this: gpgrt_libdir=${possible_libdir1} -- cgit v1.2.3 From 6d5a2b1425b2080c0efa79b85c60e1ea1761e488 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Mon, 24 Oct 2022 12:06:45 +0900 Subject: Fix an explanation for socket on Windows. -- Signed-off-by: NIIBE Yutaka --- src/assuan-socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assuan-socket.c b/src/assuan-socket.c index 39e1a0c..c53468b 100644 --- a/src/assuan-socket.c +++ b/src/assuan-socket.c @@ -363,7 +363,7 @@ read_port_and_nonce (const char *fname, unsigned short *port, char *nonce, * * "!%u %c %08x-%08x-%08x-%08x\x00" * - * %d for port number, %c for kind of socket (s for STREAM), and + * %u for port number, %c for kind of socket (s for STREAM), and * we have 16-byte random bytes for nonce. We only support * stream mode. */ -- cgit v1.2.3 From 62547ec2497105bf95e7755ed88f996353539789 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 25 Oct 2022 13:13:09 +0200 Subject: w32: Fix make dist * src/Makefile.am (parts_of_assuan_h): Readd w32-includes.h -- This was accidentally removed. Fixes-commit: df6aec566ce450e4e0702e4784569642f2bc6703 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index f3a3aac..61e1958 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -48,7 +48,7 @@ CLEANFILES = mkheader assuan.h BUILT_SOURCES = assuan.h parts_of_assuan_h = \ - posix-includes.inc.h \ + posix-includes.inc.h w32-includes.inc.h \ posix-types.inc.h w32-types.inc.h \ posix-fd-t.inc.h w32-fd-t.inc.h \ posix-sock-nonce.inc.h w32-sock-nonce.inc.h -- cgit v1.2.3 From d769ec2db2e0a89fe446fb90b3c4be8ec05abebd Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 1 Nov 2022 13:38:17 +0900 Subject: build: Prefer gpgrt-config when available. * src/libassuan.m4: Overriding the decision by --with-libassuan-prefix, use gpgrt-config libassuan when gpgrt-config is available. -- This may offer better migration. GnuPG-bug-id: 5034 Signed-off-by: NIIBE Yutaka --- src/libassuan.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libassuan.m4 b/src/libassuan.m4 index df50484..79391bb 100644 --- a/src/libassuan.m4 +++ b/src/libassuan.m4 @@ -9,7 +9,7 @@ dnl This file is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dnl SPDX-License-Identifier: FSFULLR -# Last-changed: 2020-11-17 +# Last-changed: 2022-11-01 dnl dnl Common code used for libassuan detection [internal] @@ -28,7 +28,7 @@ AC_DEFUN([_AM_PATH_LIBASSUAN_COMMON], fi use_gpgrt_config="" - if test x"${LIBASSUAN_CONFIG}" = x -a x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then + if test x"$GPGRT_CONFIG" != x -a "$GPGRT_CONFIG" != "no"; then if $GPGRT_CONFIG libassuan --exists; then LIBASSUAN_CONFIG="$GPGRT_CONFIG libassuan" AC_MSG_NOTICE([Use gpgrt-config as libassuan-config]) -- cgit v1.2.3