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 04A60158232 for ; Sat, 7 Dec 2024 01:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6782E08F6; Sat, 7 Dec 2024 01:30:27 +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 4E724E08F6 for ; Sat, 7 Dec 2024 01:30: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 E0397340DE6 for ; Sat, 7 Dec 2024 01:30:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 423821AB5 for ; Sat, 7 Dec 2024 01:30:23 +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: <1733534804.dbb84af6533b0c940d1973199fbe6d84e25589d1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mupdf/, app-text/mupdf/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/mupdf/files/mupdf-1.24.8-c23.patch app-text/mupdf/mupdf-1.24.8.ebuild X-VCS-Directories: app-text/mupdf/ app-text/mupdf/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: dbb84af6533b0c940d1973199fbe6d84e25589d1 X-VCS-Branch: master Date: Sat, 7 Dec 2024 01:30:23 +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: 6149d537-52da-492f-baa3-b0b09e25b0b3 X-Archives-Hash: 12cf1b082494db8ddb243d80f804be63 commit: dbb84af6533b0c940d1973199fbe6d84e25589d1 Author: steveo314 gmail com> AuthorDate: Tue Dec 3 14:48:28 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Dec 7 01:26:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbb84af6 app-text/mupdf: fix build w/ GCC 15 Patch to allow this version of mupdf to compile using gcc15/C23 as unprototyped functions were removed, so this onflicted with the definition in fg_init_x11.c. Closes: https://github.com/gentoo/gentoo/pull/39590 Closes: https://bugs.gentoo.org/944028 Signed-off-by: steveo314 gmail.com> Signed-off-by: Sam James gentoo.org> app-text/mupdf/files/mupdf-1.24.8-c23.patch | 17 +++++++++++++++++ app-text/mupdf/mupdf-1.24.8.ebuild | 1 + 2 files changed, 18 insertions(+) diff --git a/app-text/mupdf/files/mupdf-1.24.8-c23.patch b/app-text/mupdf/files/mupdf-1.24.8-c23.patch new file mode 100644 index 000000000000..bfb6b16acd9b --- /dev/null +++ b/app-text/mupdf/files/mupdf-1.24.8-c23.patch @@ -0,0 +1,17 @@ +From aaf110d35ea191ef75407e6af6c9d142c123b6ad Mon Sep 17 00:00:00 2001 +From: Tor Andersson +Date: Tue, 26 Nov 2024 20:16:35 +0100 +Subject: [PATCH] egl: fix fgPlatformDestroyContext prototype for C23 + +C23 removes unprototyped functions, so this conflicted with the definition +in fg_init_x11.c. +--- a/thirdparty/freeglut/src/egl/fg_init_egl.h ++++ b/thirdparty/freeglut/src/egl/fg_init_egl.h +@@ -28,6 +28,6 @@ + + extern void fghPlatformInitializeEGL(); + extern void fghPlatformCloseDisplayEGL(); +-extern void fgPlatformDestroyContext(); ++extern void fgPlatformDestroyContext(SFG_PlatformDisplay pDisplay, SFG_WindowContextType MContext); + + #endif diff --git a/app-text/mupdf/mupdf-1.24.8.ebuild b/app-text/mupdf/mupdf-1.24.8.ebuild index 591a55b5259c..47ef1b036bfd 100644 --- a/app-text/mupdf/mupdf-1.24.8.ebuild +++ b/app-text/mupdf/mupdf-1.24.8.ebuild @@ -57,6 +57,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.24.1-openssl-x11.patch # General cross fixes from Debian (refreshed) "${FILESDIR}"/${PN}-1.21.1-fix-aliasing-violation.patch + "${FILESDIR}"/${PN}-1.24.8-c23.patch ) src_prepare() {