summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-12-16 22:35:14 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-12-16 22:35:33 +0000
commit288871cfa29812169a92ef9209ccf882f08e6bd9 (patch)
treed37bb7c3d9bd51c625b236493d55d1f3f248f9c0 /net-ftp
parentprofiles.desc: Add experimental rv32 profiles (diff)
downloadgentoo-288871cfa29812169a92ef9209ccf882f08e6bd9.tar.gz
gentoo-288871cfa29812169a92ef9209ccf882f08e6bd9.tar.bz2
gentoo-288871cfa29812169a92ef9209ccf882f08e6bd9.zip
net-ftp/lftp: 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-ftp')
-rw-r--r--net-ftp/lftp/files/lftp-4.9.2-ac-270.patch36
-rw-r--r--net-ftp/lftp/lftp-4.9.2.ebuild1
2 files changed, 37 insertions, 0 deletions
diff --git a/net-ftp/lftp/files/lftp-4.9.2-ac-270.patch b/net-ftp/lftp/files/lftp-4.9.2-ac-270.patch
new file mode 100644
index 000000000000..a2a558db5a64
--- /dev/null
+++ b/net-ftp/lftp/files/lftp-4.9.2-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-ftp/lftp/lftp-4.9.2.ebuild b/net-ftp/lftp/lftp-4.9.2.ebuild
index 121ccc94638b..ab4b0a1a9ffe 100644
--- a/net-ftp/lftp/lftp-4.9.2.ebuild
+++ b/net-ftp/lftp/lftp-4.9.2.ebuild
@@ -60,6 +60,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.8.2-libdir-zlib.patch
"${FILESDIR}"/${PN}-4.9.1-libdir-readline.patch
"${FILESDIR}"/${PN}-4.9.2-libressl.patch
+ "${FILESDIR}"/${PN}-4.9.2-ac-270.patch
)
src_prepare() {