dev-tex/tex4ht: Do not install the htcmd binary.

Bug: https://puszcza.gnu.org.ua/bugs/?472#comment2
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2020-06-30 09:42:04 +02:00
parent 31b37d9465
commit 8cd24f5270
2 changed files with 2 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
https://bugs.gentoo.org/554636
--- a/src/htcmd.c
+++ b/src/htcmd.c
@@ -418,7 +418,7 @@
#undef SEP
#endif
{ (IGNORED) fprintf(stderr,"--- error --- ");
- (IGNORED) fprintf(stderr, warn_err_mssg[n]);
+ (IGNORED) fprintf(stderr, "%s", warn_err_mssg[n]);
exit(EXIT_FAILURE);
}
@@ -439,7 +439,7 @@
#undef SEP
#endif
{ (IGNORED) fprintf(stderr,"--- error --- ");
- (IGNORED) fprintf(stderr, warn_err_mssg[n]);
+ (IGNORED) fprintf(stderr, "%s", warn_err_mssg[n]);
exit(EXIT_FAILURE);
}

View File

@@ -33,7 +33,6 @@ BDEPEND="virtual/pkgconfig
java? ( >=virtual/jdk-1.5 )"
S="${WORKDIR}/${MY_P}"
PATCHES=("${FILESDIR}"/${PN}-format-security.patch)
src_prepare() {
cp -a "${WORKDIR}/texmf-dist/"* texmf/ || die
@@ -57,7 +56,7 @@ src_compile() {
cd "${S}/src" || die
einfo "Compiling postprocessor sources..."
for f in tex4ht t4ht htcmd ; do
for f in tex4ht t4ht; do
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \
-DENVFILE="\"${EPREFIX}${TEXMF}/tex4ht/base/tex4ht.env\"" \
-DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \
@@ -75,7 +74,7 @@ src_compile() {
src_install() {
# install the binaries
dobin "${S}/src/tex4ht" "${S}/src/t4ht" "${S}/src/htcmd"
dobin "${S}/src/tex4ht" "${S}/src/t4ht"
# install the scripts
if ! use java; then
rm -f "${S}"/bin/unix/oo*