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 0785515806E for ; Fri, 19 May 2023 23:50:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F158CE07F1; Fri, 19 May 2023 23:50:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 D3258E07F1 for ; Fri, 19 May 2023 23:50:15 +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 A90E9340E46 for ; Fri, 19 May 2023 23:50:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0BA0A68 for ; Fri, 19 May 2023 23:50:12 +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: <1684540090.f49aca28f70a32e04b7049af2320c0793ba6168d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gimp/, media-gfx/gimp/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/gimp/files/gimp-2.10_fix_configure_GCC13_implicit_function_declarations.patch media-gfx/gimp/gimp-2.10.34-r2.ebuild X-VCS-Directories: media-gfx/gimp/ media-gfx/gimp/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f49aca28f70a32e04b7049af2320c0793ba6168d X-VCS-Branch: master Date: Fri, 19 May 2023 23:50:12 +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: 6d3a839c-dfc8-47c2-8657-fe75d38bad92 X-Archives-Hash: 18c18b7923f83264bded0551d49a639d commit: f49aca28f70a32e04b7049af2320c0793ba6168d Author: Sergey Torokhov yandex ru> AuthorDate: Thu May 18 21:12:35 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 19 23:48:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f49aca28 media-gfx/gimp: 2.10.34-r2, fix configure GCC13 implicit func. decl. Closes: https://bugs.gentoo.org/899796 Signed-off-by: Sergey Torokhov yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/31087 Signed-off-by: Sam James gentoo.org> ...gure_GCC13_implicit_function_declarations.patch | 24 ++++++++++++++++++++++ media-gfx/gimp/gimp-2.10.34-r2.ebuild | 1 + 2 files changed, 25 insertions(+) diff --git a/media-gfx/gimp/files/gimp-2.10_fix_configure_GCC13_implicit_function_declarations.patch b/media-gfx/gimp/files/gimp-2.10_fix_configure_GCC13_implicit_function_declarations.patch new file mode 100644 index 000000000000..a266fb94a996 --- /dev/null +++ b/media-gfx/gimp/files/gimp-2.10_fix_configure_GCC13_implicit_function_declarations.patch @@ -0,0 +1,24 @@ +Gentoo issue: https://bugs.gentoo.org/899796 + +diff -Naur a/configure.ac b/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -1291,13 +1291,14 @@ + #include + #include + #include +- int main() ++ #include ++ int main(void) + { + int id; + char *shmaddr; +- id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600); +- if (id == -1) +- exit (2); ++ id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600); ++ if (id == -1) ++ exit (2); + shmaddr = shmat (id, 0, 0); + shmctl (id, IPC_RMID, 0); + if ((char*) shmat (id, 0, 0) == (char*) -1) diff --git a/media-gfx/gimp/gimp-2.10.34-r2.ebuild b/media-gfx/gimp/gimp-2.10.34-r2.ebuild index f0bccadd7339..d01f0be4cba6 100644 --- a/media-gfx/gimp/gimp-2.10.34-r2.ebuild +++ b/media-gfx/gimp/gimp-2.10.34-r2.ebuild @@ -84,6 +84,7 @@ DOCS=( "AUTHORS" "ChangeLog" "HACKING" "NEWS" "README" "README.i18n" ) PATCHES=( "${FILESDIR}/${PN}-2.10_fix_test-appdata.patch" # Bugs 685210 (and duplicate 691070) "${FILESDIR}/${PN}-2.10_fix_musl_backtrace_backend_switch.patch" #900148 + "${FILESDIR}/${PN}-2.10_fix_configure_GCC13_implicit_function_declarations.patch" #899796 ) src_prepare() {