summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2023-01-04 08:24:46 +0800
committerYixun Lan <dlan@gentoo.org>2023-01-04 08:27:49 +0800
commit1b2e36e1d2ca03a062d0fa4983a4168a691d422e (patch)
treea03606b63bb17df22252f7cfeefb5a0a8b50417b /dev-lang/tcc
parentprofiles: drop obsolete fontconfig mask (diff)
downloadgentoo-1b2e36e1d2ca03a062d0fa4983a4168a691d422e.tar.gz
gentoo-1b2e36e1d2ca03a062d0fa4983a4168a691d422e.tar.bz2
gentoo-1b2e36e1d2ca03a062d0fa4983a4168a691d422e.zip
dev-lang/tcc: fix shabang in man documentation
Closes: https://bugs.gentoo.org/888115 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-lang/tcc')
-rw-r--r--dev-lang/tcc/tcc-0.9.27_p20211022.ebuild5
-rw-r--r--dev-lang/tcc/tcc-9999.ebuild7
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