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 B8E64158015 for ; Thu, 28 Dec 2023 02:19:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDD2C2BC025; Thu, 28 Dec 2023 02:19:13 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B74802BC025 for ; Thu, 28 Dec 2023 02:19:13 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E857335DCC for ; Thu, 28 Dec 2023 02:19:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5968814C3 for ; Thu, 28 Dec 2023 02:19:10 +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: <1703729903.c01810d7f0699fd978d78538429ee7618b21909c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/source-highlight/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild X-VCS-Directories: dev-util/source-highlight/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c01810d7f0699fd978d78538429ee7618b21909c X-VCS-Branch: master Date: Thu, 28 Dec 2023 02:19:10 +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: 15124632-0eb2-43e2-be6e-a204323632bb X-Archives-Hash: 03a6470d92bbd1e383771d274b4fd469 commit: c01810d7f0699fd978d78538429ee7618b21909c Author: Eli Schwartz gmail com> AuthorDate: Thu Dec 28 01:32:27 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 28 02:18:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01810d7 dev-util/source-highlight: apply elibtoolize to old distributed libtool This makes the build respect warning flags such as -Werror=odr. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild b/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild index 1c663d28de8c..fb6cbdde1165 100644 --- a/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild +++ b/dev-util/source-highlight/source-highlight-3.1.9-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit bash-completion-r1 flag-o-matic optfeature +inherit bash-completion-r1 flag-o-matic libtool optfeature DESCRIPTION="Generate highlighted source code as an (x)html document" HOMEPAGE="https://www.gnu.org/software/src-highlite/source-highlight.html" @@ -23,6 +23,14 @@ PATCHES=( "${FILESDIR}"/${PN}-3.1.9-test-clang-p2.patch ) +src_prepare() { + default + + # Although all unpatched libtools are probably broken, this one ignores LTO + # warning flags. + elibtoolize +} + src_configure() { # required as rev-dep of dev-libs/boost-1.62.0 # https://wiki.gentoo.org/wiki/Project:C%2B%2B/Maintaining_ABI