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 BAEBF158534 for ; Thu, 22 Aug 2024 05:02:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C42BE2AD6; Thu, 22 Aug 2024 05:02:03 +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 D13ADE2AD2 for ; Thu, 22 Aug 2024 05:02:02 +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 CA02D340C7B for ; Thu, 22 Aug 2024 05:02:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32D251F04 for ; Thu, 22 Aug 2024 05:02:00 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1724302914.02452a18f95e91923de3fbc01ca8e4ae2a2ad268.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/abiword/, app-office/abiword/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/abiword/abiword-3.0.5-r1.ebuild app-office/abiword/files/abiword-3.0.5-gcc14.patch X-VCS-Directories: app-office/abiword/files/ app-office/abiword/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 02452a18f95e91923de3fbc01ca8e4ae2a2ad268 X-VCS-Branch: master Date: Thu, 22 Aug 2024 05:02:00 +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: 57a16df1-dcaa-44ee-9451-dcff09d3a2a5 X-Archives-Hash: de1d076ecd1e02edd6cc82aa2e543156 commit: 02452a18f95e91923de3fbc01ca8e4ae2a2ad268 Author: Michał Górny gentoo org> AuthorDate: Thu Aug 22 04:08:10 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 22 05:01:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02452a18 app-office/abiword: Patch a build failure with gcc-14 Closes: https://bugs.gentoo.org/922633 Signed-off-by: Michał Górny gentoo.org> app-office/abiword/abiword-3.0.5-r1.ebuild | 2 ++ app-office/abiword/files/abiword-3.0.5-gcc14.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/app-office/abiword/abiword-3.0.5-r1.ebuild b/app-office/abiword/abiword-3.0.5-r1.ebuild index 4e942cdb2686..f753d91ff68a 100644 --- a/app-office/abiword/abiword-3.0.5-r1.ebuild +++ b/app-office/abiword/abiword-3.0.5-r1.ebuild @@ -86,6 +86,8 @@ PATCHES=( "${WORKDIR}"/patches/${PN}-3.0.4-c++17-dynamic-exception-specifications.patch "${FILESDIR}"/${PN}-3.0.5-musl-lose-precision-fix.patch "${FILESDIR}"/${PN}-3.0.5-libxml2-2.12.patch + # https://bugs.gentoo.org/922633 + "${FILESDIR}"/${PN}-3.0.5-gcc14.patch ) src_prepare() { diff --git a/app-office/abiword/files/abiword-3.0.5-gcc14.patch b/app-office/abiword/files/abiword-3.0.5-gcc14.patch new file mode 100644 index 000000000000..aa0519c0d43a --- /dev/null +++ b/app-office/abiword/files/abiword-3.0.5-gcc14.patch @@ -0,0 +1,12 @@ +diff --git a/plugins/mathview/itex2mml/itex2MML.y b/plugins/mathview/itex2mml/itex2MML.y +index c4e1cc5..60bc842 100644 +--- a/plugins/mathview/itex2mml/itex2MML.y ++++ b/plugins/mathview/itex2mml/itex2MML.y +@@ -1804,6 +1804,7 @@ static void itex2MML_keep_error (const char * msg) + itex2MML_last_error = itex2MML_copy_escaped (msg); + } + ++int itex2MML_do_html_filter (const char *, unsigned long, const int); + int itex2MML_html_filter (const char * buffer, unsigned long length) + { + return itex2MML_do_html_filter (buffer, length, 0);