commit: c01810d7f0699fd978d78538429ee7618b21909c Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Thu Dec 28 01:32:27 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> 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
