Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget2/files/, net-misc/wget2/
Date: Tue, 29 Dec 2020 16:14:06
Message-Id: 1609258423.a24139362029cd6362f654665c89e4caa5cc4ae0.polynomial-c@gentoo
1 commit: a24139362029cd6362f654665c89e4caa5cc4ae0
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 16:13:43 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 16:13:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2413936
7
8 net-misc/wget2: Fixed build with autoconf-2.70
9
10 Closes: https://bugs.gentoo.org/750857
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
13
14 net-misc/wget2/files/gnulib-autoconf270.patch | 22 ++++++++++++++++++++++
15 net-misc/wget2/wget2-1.99.2.ebuild | 1 +
16 2 files changed, 23 insertions(+)
17
18 diff --git a/net-misc/wget2/files/gnulib-autoconf270.patch b/net-misc/wget2/files/gnulib-autoconf270.patch
19 new file mode 100644
20 index 00000000000..b0cfe0e8663
21 --- /dev/null
22 +++ b/net-misc/wget2/files/gnulib-autoconf270.patch
23 @@ -0,0 +1,22 @@
24 +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
25 +
26 +diff --git a/m4/std-gnu11.m4 b/m4/std-gnu11.m4
27 +index db833d8..b5ab8ab 100644
28 +--- a/m4/std-gnu11.m4
29 ++++ b/m4/std-gnu11.m4
30 +@@ -6,6 +6,8 @@
31 + # This implementation will be obsolete once we can assume Autoconf 2.70
32 + # or later is installed everywhere a Gnulib program might be developed.
33 +
34 ++m4_version_prereq([2.70], [], [
35 ++
36 +
37 + # Copyright (C) 2001-2020 Free Software Foundation, Inc.
38 +
39 +@@ -822,3 +824,6 @@ dnl Tru64 N/A (no support)
40 + dnl with extended modes being tried first.
41 + [[-std=gnu++11 -std=c++11 -std=gnu++0x -std=c++0x -qlanglvl=extended0x -AA]], [$1], [$2])[]dnl
42 + ])# _AC_PROG_CXX_CXX11
43 ++
44 ++
45 ++])# m4_version_prereq
46
47 diff --git a/net-misc/wget2/wget2-1.99.2.ebuild b/net-misc/wget2/wget2-1.99.2.ebuild
48 index 9b2066895e5..f9970c40fb1 100644
49 --- a/net-misc/wget2/wget2-1.99.2.ebuild
50 +++ b/net-misc/wget2/wget2-1.99.2.ebuild
51 @@ -56,6 +56,7 @@ PATCHES=(
52 # Fixes from upstream
53 "${FILESDIR}"/${P}-avoid_bashisms.patch
54 "${FILESDIR}"/${P}-autoconf270.patch
55 + "${FILESDIR}"/gnulib-autoconf270.patch
56 )
57
58 src_prepare() {