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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 532D11581FB for ; Sun, 24 Nov 2024 11:21:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 421DDE07D9; Sun, 24 Nov 2024 11:21:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 2C737E07D9 for ; Sun, 24 Nov 2024 11:21:30 +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 5D6F833FE49 for ; Sun, 24 Nov 2024 11:21:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C07B11A26 for ; Sun, 24 Nov 2024 11:21:27 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1732447276.89ce343124c6a1dbc28e9d268af9e8912ddd5765.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/netpbm/files/, media-libs/netpbm/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/netpbm/files/netpbm-11.8.1-fix-C23.patch media-libs/netpbm/netpbm-11.8.1-r1.ebuild media-libs/netpbm/netpbm-11.8.1.ebuild X-VCS-Directories: media-libs/netpbm/files/ media-libs/netpbm/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 89ce343124c6a1dbc28e9d268af9e8912ddd5765 X-VCS-Branch: master Date: Sun, 24 Nov 2024 11:21:27 +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: 30128792-0a47-4de0-9bda-33903c91c785 X-Archives-Hash: 80a3de88ad2e5219141b87ab4b217576 commit: 89ce343124c6a1dbc28e9d268af9e8912ddd5765 Author: Viorel Munteanu gentoo org> AuthorDate: Sun Nov 24 10:41:24 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sun Nov 24 11:21:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89ce3431 media-libs/netpbm: fix building with gcc-15 Bug: https://bugs.gentoo.org/943971 Signed-off-by: Viorel Munteanu gentoo.org> media-libs/netpbm/files/netpbm-11.8.1-fix-C23.patch | 14 ++++++++++++++ .../{netpbm-11.8.1.ebuild => netpbm-11.8.1-r1.ebuild} | 1 + 2 files changed, 15 insertions(+) diff --git a/media-libs/netpbm/files/netpbm-11.8.1-fix-C23.patch b/media-libs/netpbm/files/netpbm-11.8.1-fix-C23.patch new file mode 100644 index 000000000000..a749ec434d31 --- /dev/null +++ b/media-libs/netpbm/files/netpbm-11.8.1-fix-C23.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/943971 + +--- a/buildtools/libopt.c ++++ b/buildtools/libopt.c +@@ -89,7 +89,9 @@ + #include + #include + ++#if __STDC_VERSION__ < 202311L + typedef unsigned char bool; ++#endif + #ifndef TRUE + #define TRUE (1) + #endif diff --git a/media-libs/netpbm/netpbm-11.8.1.ebuild b/media-libs/netpbm/netpbm-11.8.1-r1.ebuild similarity index 99% rename from media-libs/netpbm/netpbm-11.8.1.ebuild rename to media-libs/netpbm/netpbm-11.8.1-r1.ebuild index 31d10bb8169f..3626f909bb88 100644 --- a/media-libs/netpbm/netpbm-11.8.1.ebuild +++ b/media-libs/netpbm/netpbm-11.8.1-r1.ebuild @@ -59,6 +59,7 @@ PATCHES=( "${FILESDIR}"/netpbm-11.1.0-fix-clang-O2.patch "${FILESDIR}"/netpbm-11.6.1-incompatible-pointer-types.patch "${FILESDIR}"/netpbm-11.7.2-lto.patch + "${FILESDIR}"/netpbm-11.8.1-fix-C23.patch ) netpbm_libtype() {