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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B95E915811D for ; Mon, 26 Jun 2023 14:11:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F4A1E0858; Mon, 26 Jun 2023 14:11:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC526E0858 for ; Mon, 26 Jun 2023 14:11:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B94233BE23 for ; Mon, 26 Jun 2023 14:11:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CDB77C6 for ; Mon, 26 Jun 2023 14:11:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1687788191.ad105d9d002da5a860de683cf6bf4b229091afbd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/files/, x11-libs/wxGTK/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/wxGTK/files/wxGTK-3.0.5.1-configure-modern-c.patch x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild X-VCS-Directories: x11-libs/wxGTK/files/ x11-libs/wxGTK/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ad105d9d002da5a860de683cf6bf4b229091afbd X-VCS-Branch: master Date: Mon, 26 Jun 2023 14:11:25 +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: 33f5be1c-44e3-4801-8bd6-537a1d2fc777 X-Archives-Hash: b045c18212eb989b6cd042194e139a74 commit: ad105d9d002da5a860de683cf6bf4b229091afbd Author: Sam James gentoo org> AuthorDate: Mon Jun 26 14:02:55 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jun 26 14:03:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad105d9d x11-libs/wxGTK: fix modern C issue in configure Closes: https://bugs.gentoo.org/874441 Signed-off-by: Sam James gentoo.org> .../files/wxGTK-3.0.5.1-configure-modern-c.patch | 54 ++++++++++++++++++++++ x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild | 5 +- 2 files changed, 57 insertions(+), 2 deletions(-) diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.5.1-configure-modern-c.patch b/x11-libs/wxGTK/files/wxGTK-3.0.5.1-configure-modern-c.patch new file mode 100644 index 000000000000..6512c6329efb --- /dev/null +++ b/x11-libs/wxGTK/files/wxGTK-3.0.5.1-configure-modern-c.patch @@ -0,0 +1,54 @@ +https://github.com/wxWidgets/wxWidgets/commit/da4b42688a6cd5444eefb91bf40183d88203ffca +https://bugs.gentoo.org/874441 +--- a/configure ++++ b/configure +@@ -19586,6 +19586,7 @@ else + /* end confdefs.h. */ + + #include ++ #include + + int main() + { +@@ -22300,6 +22301,7 @@ else + + #include + #include ++ #include + + int main() + { +@@ -22422,6 +22424,7 @@ else + + #include + #include ++ #include + + int main() + { +--- a/configure.in ++++ b/configure.in +@@ -1482,6 +1482,7 @@ case "${host}" in + dnl Check the gcc version macro. + [ + #include ++ #include + + int main() + { +@@ -2439,6 +2440,7 @@ if test "$wxUSE_ZLIB" != "no" ; then + [ + #include + #include ++ #include + + int main() + { +@@ -2507,6 +2509,7 @@ if test "$wxUSE_LIBPNG" != "no" ; then + [ + #include + #include ++ #include + + int main() + { diff --git a/x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild index 6b9d506ba157..d679c0cb319d 100644 --- a/x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild +++ b/x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -62,7 +62,8 @@ PATCHES=( "${WORKDIR}"/wxGTK-3.0.5_p20210214/ "${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch "${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878 - "${FILESDIR}/${PN}-configure-tests.patch" + "${FILESDIR}"/${PN}-configure-tests.patch + "${FILESDIR}"/${PN}-3.0.5.1-configure-modern-c.patch ) src_prepare() {