From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 74FEC15806C for ; Sun, 13 Jul 2025 04:35:42 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 63C36341F1F for ; Sun, 13 Jul 2025 04:35:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0B15011055B; Sun, 13 Jul 2025 04:35:39 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id EC08011036B for ; Sun, 13 Jul 2025 04:35:38 +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 982293415C9 for ; Sun, 13 Jul 2025 04:35:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EAC830CE for ; Sun, 13 Jul 2025 04:35:37 +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: <1752380994.6cff15c21383f3c63b19aa45c26a5dcb9e3affac.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/lttoolbox/files/, sci-misc/lttoolbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/lttoolbox/files/lttoolbox-3.7.1-libxml2-2.14.patch sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild X-VCS-Directories: sci-misc/lttoolbox/ sci-misc/lttoolbox/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6cff15c21383f3c63b19aa45c26a5dcb9e3affac X-VCS-Branch: master Date: Sun, 13 Jul 2025 04:35:37 +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: 2dd000e4-fa65-4bfb-8cc6-9ea9c597b17f X-Archives-Hash: bd0b21f370a98378e5d33fea77d8c1fb commit: 6cff15c21383f3c63b19aa45c26a5dcb9e3affac Author: Alfred Wingate protonmail com> AuthorDate: Sat Jul 12 18:00:14 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 13 04:29:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cff15c2 sci-misc/lttoolbox: handle libxml2-2.14 breakage Bug: https://bugs.gentoo.org/955673 Signed-off-by: Alfred Wingate protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42975 Closes: https://github.com/gentoo/gentoo/pull/42975 Signed-off-by: Sam James gentoo.org> .../files/lttoolbox-3.7.1-libxml2-2.14.patch | 21 ++++++++++ sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/sci-misc/lttoolbox/files/lttoolbox-3.7.1-libxml2-2.14.patch b/sci-misc/lttoolbox/files/lttoolbox-3.7.1-libxml2-2.14.patch new file mode 100644 index 000000000000..ef3c8d71d3cf --- /dev/null +++ b/sci-misc/lttoolbox/files/lttoolbox-3.7.1-libxml2-2.14.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/955673 +https://github.com/apertium/lttoolbox/issues/199 +https://github.com/apertium/lttoolbox/commit/92c2d2948a5396034dca7465a51dbb2fb1528fe4 + +From 92c2d2948a5396034dca7465a51dbb2fb1528fe4 Mon Sep 17 00:00:00 2001 +From: Tino Didriksen +Date: Thu, 12 Jun 2025 12:59:10 +0200 +Subject: [PATCH] initGenericErrorDefaultFunc -> xmlSetGenericErrorFunc (fixes + #199) + +--- a/lttoolbox/lt_comp.cc ++++ b/lttoolbox/lt_comp.cc +@@ -119,7 +119,7 @@ int main(int argc, char *argv[]) + std::cerr << "Error: Cannot not open file '" << infile << "'." << std::endl << std::endl; + exit(EXIT_FAILURE); + } +- initGenericErrorDefaultFunc(NULL); ++ xmlSetGenericErrorFunc(nullptr, nullptr); + + + if(opc == "lr") diff --git a/sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild b/sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild new file mode 100644 index 000000000000..5b183fb349f2 --- /dev/null +++ b/sci-misc/lttoolbox/lttoolbox-3.7.1-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Toolbox for lexical processing, morphological analysis and generation of words" +HOMEPAGE="https://www.apertium.org" +SRC_URI="https://github.com/apertium/lttoolbox/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +# PKG_VERSION_ABI in configure.ac +SLOT="0/3" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/icu:= + dev-libs/libxml2:2= + dev-libs/utfcpp +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-3.7.1-bashism.patch + "${FILESDIR}"/${PN}-3.7.1-cstdint-include.patch + "${FILESDIR}"/${PN}-3.7.1-libxml2-2.14.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf --disable-python-bindings +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}