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 F06DB158064 for ; Thu, 9 May 2024 23:15:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C20EE2A20; Thu, 9 May 2024 23:15:50 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19A0DE2A20 for ; Thu, 9 May 2024 23:15:50 +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 12D9C34309F for ; Thu, 9 May 2024 23:15:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 180B91689 for ; Thu, 9 May 2024 23:15:47 +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: <1715296505.20f11b9862b4fc6cc24a90d8c64900d5ecc236f8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/imlib/, media-libs/imlib/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/imlib/files/imlib-1.9.15-c99-configure.patch media-libs/imlib/imlib-1.9.15-r8.ebuild media-libs/imlib/imlib-1.9.15-r9.ebuild X-VCS-Directories: media-libs/imlib/ media-libs/imlib/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 20f11b9862b4fc6cc24a90d8c64900d5ecc236f8 X-VCS-Branch: master Date: Thu, 9 May 2024 23:15:47 +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: 6367aed0-14b2-4879-ac34-2cc50381813e X-Archives-Hash: b96d95ceeb35438c43fbb819ad3b3d2a commit: 20f11b9862b4fc6cc24a90d8c64900d5ecc236f8 Author: Sam James gentoo org> AuthorDate: Thu May 9 23:15:05 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 9 23:15:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f11b98 media-libs/imlib: fix Modern C issues in configure Closes: https://bugs.gentoo.org/898234 Signed-off-by: Sam James gentoo.org> .../imlib/files/imlib-1.9.15-c99-configure.patch | 20 ++++++++++++++++++++ ...imlib-1.9.15-r8.ebuild => imlib-1.9.15-r9.ebuild} | 1 + 2 files changed, 21 insertions(+) diff --git a/media-libs/imlib/files/imlib-1.9.15-c99-configure.patch b/media-libs/imlib/files/imlib-1.9.15-c99-configure.patch new file mode 100644 index 000000000000..a22514d2dea1 --- /dev/null +++ b/media-libs/imlib/files/imlib-1.9.15-c99-configure.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/898234 +--- a/configure.ac ++++ b/configure.ac +@@ -62,7 +62,7 @@ if test "x$GDK_IMLIB" != x; then + #include + #include + #include +-main () ++int main () + { + if (g_module_supported ()) + exit (0); +@@ -166,6 +166,7 @@ if test "x$enable_shm" = "xyes"; then + #include + #include + #include ++ #include + int main() + { + int id; diff --git a/media-libs/imlib/imlib-1.9.15-r8.ebuild b/media-libs/imlib/imlib-1.9.15-r9.ebuild similarity index 97% rename from media-libs/imlib/imlib-1.9.15-r8.ebuild rename to media-libs/imlib/imlib-1.9.15-r9.ebuild index 494be1fba26d..5120f9d71d84 100644 --- a/media-libs/imlib/imlib-1.9.15-r8.ebuild +++ b/media-libs/imlib/imlib-1.9.15-r9.ebuild @@ -39,6 +39,7 @@ PATCHES=( "${FILESDIR}"/${P}-underlinking-test.patch #367645 "${FILESDIR}"/${P}-no-LDFLAGS-in-pc.patch "${FILESDIR}"/${P}-giflib51-{1,2}.patch #538976 + "${FILESDIR}"/${P}-c99-configure.patch #898234 ) src_prepare() {