From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC5561580B9 for ; Sun, 22 Aug 2021 12:00:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0445FE0867; Sun, 22 Aug 2021 12:00:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62499E0867 for ; Sun, 22 Aug 2021 12:00:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8021340DD2 for ; Sun, 22 Aug 2021 12:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F93A86D for ; Sun, 22 Aug 2021 12:00:19 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1629633612.1e79c53b7795d088a824049c3f692bac3bb0a0fb.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/wget/wget-1.21.1.ebuild X-VCS-Directories: net-misc/wget/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 1e79c53b7795d088a824049c3f692bac3bb0a0fb X-VCS-Branch: master Date: Sun, 22 Aug 2021 12:00:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a957c548-ca4e-4be5-8aac-7f25e32981e4 X-Archives-Hash: 8dcca3dfe2420925ee2759d739b819fe commit: 1e79c53b7795d088a824049c3f692bac3bb0a0fb Author: Fabian Groffen gentoo org> AuthorDate: Sun Aug 22 11:56:34 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Aug 22 12:00:12 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e79c53b net-misc/wget-1.21.1: fix build on darwin Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Fabian Groffen gentoo.org> net-misc/wget/wget-1.21.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net-misc/wget/wget-1.21.1.ebuild b/net-misc/wget/wget-1.21.1.ebuild index 2d15744b57f..dfd4fce484b 100644 --- a/net-misc/wget/wget-1.21.1.ebuild +++ b/net-misc/wget/wget-1.21.1.ebuild @@ -75,6 +75,12 @@ src_configure() { # the included gnutls -- force ioctl.h to include this header [[ ${CHOST} == *-solaris* ]] && append-cppflags -DBSD_COMP=1 + if [[ ${CHOST} == *-darwin* ]] ; then + # https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00050.html + # https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00051.html + append-cppflags '-D__nonnull\(X\)=' + fi + if use static ; then append-ldflags -static tc-export PKG_CONFIG