commit:     8cd24f5270cf032aeb4b5310298762996e8bbc08
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 30 07:42:04 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jun 30 07:42:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd24f52

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 <AT> gentoo.org>

 dev-tex/tex4ht/files/tex4ht-format-security.patch  | 22 ----------------------
 ...r10.ebuild => tex4ht-20090611_p1038-r11.ebuild} |  5 ++---
 2 files changed, 2 insertions(+), 25 deletions(-)

diff --git a/dev-tex/tex4ht/files/tex4ht-format-security.patch 
b/dev-tex/tex4ht/files/tex4ht-format-security.patch
deleted file mode 100644
index fde075ce33d..00000000000
--- a/dev-tex/tex4ht/files/tex4ht-format-security.patch
+++ /dev/null
@@ -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);
- }
- 

diff --git a/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild 
b/dev-tex/tex4ht/tex4ht-20090611_p1038-r11.ebuild
similarity index 96%
rename from dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild
rename to dev-tex/tex4ht/tex4ht-20090611_p1038-r11.ebuild
index b74f2800061..1249e8194ee 100644
--- a/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild
+++ b/dev-tex/tex4ht/tex4ht-20090611_p1038-r11.ebuild
@@ -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*

Reply via email to