Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget/
Date: Sun, 22 Aug 2021 12:00:23
Message-Id: 1629633612.1e79c53b7795d088a824049c3f692bac3bb0a0fb.grobian@gentoo
1 commit: 1e79c53b7795d088a824049c3f692bac3bb0a0fb
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 11:56:34 2021 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 12:00:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e79c53b
7
8 net-misc/wget-1.21.1: fix build on darwin
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
12
13 net-misc/wget/wget-1.21.1.ebuild | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/net-misc/wget/wget-1.21.1.ebuild b/net-misc/wget/wget-1.21.1.ebuild
17 index 2d15744b57f..dfd4fce484b 100644
18 --- a/net-misc/wget/wget-1.21.1.ebuild
19 +++ b/net-misc/wget/wget-1.21.1.ebuild
20 @@ -75,6 +75,12 @@ src_configure() {
21 # the included gnutls -- force ioctl.h to include this header
22 [[ ${CHOST} == *-solaris* ]] && append-cppflags -DBSD_COMP=1
23
24 + if [[ ${CHOST} == *-darwin* ]] ; then
25 + # https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00050.html
26 + # https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00051.html
27 + append-cppflags '-D__nonnull\(X\)='
28 + fi
29 +
30 if use static ; then
31 append-ldflags -static
32 tc-export PKG_CONFIG