diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-29 17:13:43 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-29 17:13:43 +0100 |
commit | a24139362029cd6362f654665c89e4caa5cc4ae0 (patch) | |
tree | b2db232fb32b436ab91056e2777caface98c6b67 | |
parent | net-misc/wget2: Removed useless line (diff) | |
download | gentoo-a2413936.tar.gz gentoo-a2413936.tar.bz2 gentoo-a2413936.zip |
net-misc/wget2: Fixed build with autoconf-2.70
Closes: https://bugs.gentoo.org/750857
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r-- | net-misc/wget2/files/gnulib-autoconf270.patch | 22 | ||||
-rw-r--r-- | net-misc/wget2/wget2-1.99.2.ebuild | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/wget2/files/gnulib-autoconf270.patch b/net-misc/wget2/files/gnulib-autoconf270.patch new file mode 100644 index 000000000000..b0cfe0e8663e --- /dev/null +++ b/net-misc/wget2/files/gnulib-autoconf270.patch @@ -0,0 +1,22 @@ +X-Git-Url: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blobdiff_plain;f=m4%2Fstd-gnu11.m4;h=b5ab8abed0288b1197fe9f49dcf6aeb6b503ddf3;hp=db833d820f3b5b26e0f218ef87daf4fc1be54f2d;hb=a3b3fc85e3e632374811b27cb2111e50fa177e36;hpb=c6b798d3754a4ee18c3e5e0fff4310105d7894b2 + +diff --git a/m4/std-gnu11.m4 b/m4/std-gnu11.m4 +index db833d8..b5ab8ab 100644 +--- 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. + +@@ -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-misc/wget2/wget2-1.99.2.ebuild b/net-misc/wget2/wget2-1.99.2.ebuild index 9b2066895e5e..f9970c40fb1a 100644 --- a/net-misc/wget2/wget2-1.99.2.ebuild +++ b/net-misc/wget2/wget2-1.99.2.ebuild @@ -56,6 +56,7 @@ PATCHES=( # Fixes from upstream "${FILESDIR}"/${P}-avoid_bashisms.patch "${FILESDIR}"/${P}-autoconf270.patch + "${FILESDIR}"/gnulib-autoconf270.patch ) src_prepare() { |