From 3d46eb6cf799b64786f3aa555000f350570e1ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Gonz=C3=A1lez?= Date: Mon, 5 Feb 2024 00:46:12 +0100 Subject: [PATCH] common: Update requisites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * configure.ac: Require libgpg-error 1.38 and libksba 1.4.0 * common/util.h: Remove error number substitutes. -- These versions were already needed for a successful compilation, but it was not reflected by configure. GnuPG-bug-id: 6974 Signed-off-by: Ángel González util.h patch by wk. --- common/util.h | 4 ---- configure.ac | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/common/util.h b/common/util.h index 325f3f555..ca381227d 100644 --- a/common/util.h +++ b/common/util.h @@ -39,10 +39,6 @@ * libgpg-error version. Define them here. * Example: (#if GPG_ERROR_VERSION_NUMBER < 0x011500 // 1.21) */ -#if GPG_ERROR_VERSION_NUMBER < 0x012400 /* 1.36 */ -# define GPG_ERR_NO_AUTH 314 -# define GPG_ERR_BAD_AUTH 315 -#endif #ifndef EXTERN_UNLESS_MAIN_MODULE # if !defined (INCLUDED_BY_MAIN_MODULE) diff --git a/configure.ac b/configure.ac index 1a1f9f8fa..6d1e2ba76 100644 --- a/configure.ac +++ b/configure.ac @@ -54,7 +54,7 @@ AC_INIT([mym4_package],[mym4_version],[https://bugs.gnupg.org]) # build-aux/speedo.mk and Makefile.am AC_DEFINE_UNQUOTED(GNUPG_SWDB_TAG, "gnupg22", [swdb tag for this branch]) -NEED_GPG_ERROR_VERSION=1.27 +NEED_GPG_ERROR_VERSION=1.38 NEED_LIBGCRYPT_API=1 NEED_LIBGCRYPT_VERSION=1.8.0 @@ -63,7 +63,7 @@ NEED_LIBASSUAN_API=2 NEED_LIBASSUAN_VERSION=2.5.0 NEED_KSBA_API=1 -NEED_KSBA_VERSION=1.3.5 +NEED_KSBA_VERSION=1.4.0 NEED_NTBTLS_API=1 NEED_NTBTLS_VERSION=0.2.0