commit: 1b2e36e1d2ca03a062d0fa4983a4168a691d422e Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Wed Jan 4 00:24:46 2023 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Wed Jan 4 00:27:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2e36e1
dev-lang/tcc: fix shabang in man documentation Closes: https://bugs.gentoo.org/888115 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 5 ++++- dev-lang/tcc/tcc-9999.ebuild | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index f99fb69925e6..a6f9afd599ac 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -45,6 +45,9 @@ src_prepare() { }' examples/ex*.c || die sed -i -e '1s/$/ -lX11/' examples/ex4.c || die + # bug 888115 + sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die + # Fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild index ebcf4086791e..a6f9afd599ac 100644 --- a/dev-lang/tcc/tcc-9999.ebuild +++ b/dev-lang/tcc/tcc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ fi LICENSE="LGPL-2.1" SLOT="0" if [[ ${PV} != *9999* ]] ; then - KEYWORDS="~amd64 ~x86 ~amd64-linux" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" fi BDEPEND="dev-lang/perl" # doc generation @@ -45,6 +45,9 @@ src_prepare() { }' examples/ex*.c || die sed -i -e '1s/$/ -lX11/' examples/ex4.c || die + # bug 888115 + sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die + # Fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die
