summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-12-18 08:38:01 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-12-18 08:38:22 +0000
commitb172ace6040dec5927f8a4a4a423d9e3e06b9c2e (patch)
tree309058d13a898f4ab2d223f48a0a8bb92292c549 /net-libs/libgsasl
parentsys-apps/i2c-tools: Add py39 to PYTHON_COMPAT (diff)
downloadgentoo-b172ace6040dec5927f8a4a4a423d9e3e06b9c2e.tar.gz
gentoo-b172ace6040dec5927f8a4a4a423d9e3e06b9c2e.tar.bz2
gentoo-b172ace6040dec5927f8a4a4a423d9e3e06b9c2e.zip
net-libs/libgsasl: tweak for autoconf-2.70
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-libs/libgsasl')
-rw-r--r--net-libs/libgsasl/files/libgsasl-1.8.1-ac-270.patch36
-rw-r--r--net-libs/libgsasl/libgsasl-1.8.1.ebuild3
2 files changed, 38 insertions, 1 deletions
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 000000000000..a2a558db5a64
--- /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 6c8b8e053665..331707bb2683 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() {