commit: b172ace6040dec5927f8a4a4a423d9e3e06b9c2e
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 08:38:01 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 08:38:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b172ace6
net-libs/libgsasl: tweak for autoconf-2.70
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../libgsasl/files/libgsasl-1.8.1-ac-270.patch | 36 ++++++++++++++++++++++
net-libs/libgsasl/libgsasl-1.8.1.ebuild | 3 +-
2 files changed, 38 insertions(+), 1 deletion(-)
diff --git a/net-libs/libgsasl/files/libgsasl-1.8.1-ac-270.patch
b/net-libs/libgsasl/files/libgsasl-1.8.1-ac-270.patch
new file mode 100644
index 00000000000..a2a558db5a6
--- /dev/null
+++ b/net-libs/libgsasl/files/libgsasl-1.8.1-ac-270.patch
@@ -0,0 +1,36 @@
+--- a/m4/std-gnu11.m4
++++ b/m4/std-gnu11.m4
+@@ -6,6 +6,8 @@
+ # This implementation will be obsolete once we can assume Autoconf 2.70
+ # or later is installed everywhere a Gnulib program might be developed.
+
++m4_version_prereq([2.70], [], [
++
+
+ # Copyright (C) 2001-2020 Free Software Foundation, Inc.
+
+@@ -70,7 +72,7 @@ _AS_ECHO_LOG([checking for _AC_LANG compiler version])
+ set X $ac_compile
+ ac_compiler=$[2]
+ for ac_option in --version -v -V -qversion -version; do
+- m4_ifdef([_AC_DO_LIMIT],[_AC_DO_LIMIT],[_AC_DO])([$ac_compiler $ac_option
>&AS_MESSAGE_LOG_FD])
++ _AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD])
+ done
+
+ m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
+@@ -135,7 +137,7 @@ _AS_ECHO_LOG([checking for _AC_LANG compiler version])
+ set X $ac_compile
+ ac_compiler=$[2]
+ for ac_option in --version -v -V -qversion; do
+- m4_ifdef([_AC_DO_LIMIT],[_AC_DO_LIMIT],[_AC_DO])([$ac_compiler $ac_option
>&AS_MESSAGE_LOG_FD])
++ _AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD])
+ done
+
+ m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
+@@ -822,3 +824,6 @@ dnl Tru64 N/A (no support)
+ dnl with extended modes being tried first.
+ [[-std=gnu++11 -std=c++11 -std=gnu++0x -std=c++0x -qlanglvl=extended0x -AA]],
[$1], [$2])[]dnl
+ ])# _AC_PROG_CXX_CXX11
++
++
++])# m4_version_prereq
diff --git a/net-libs/libgsasl/libgsasl-1.8.1.ebuild
b/net-libs/libgsasl/libgsasl-1.8.1.ebuild
index 6c8b8e05366..331707bb268 100644
--- a/net-libs/libgsasl/libgsasl-1.8.1.ebuild
+++ b/net-libs/libgsasl/libgsasl-1.8.1.ebuild
@@ -25,7 +25,8 @@ RDEPEND="${DEPEND}
!net-misc/gsasl"
PATCHES=(
- "${FILESDIR}/${PN}-1.8.1-gss-extra.patch"
+ "${FILESDIR}"/${PN}-1.8.1-gss-extra.patch
+ "${FILESDIR}"/${PN}-1.8.1-ac-270.patch
)
src_prepare() {