summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-06-30 09:42:04 +0200
committerUlrich Müller <ulm@gentoo.org>2020-06-30 09:42:04 +0200
commit8cd24f5270cf032aeb4b5310298762996e8bbc08 (patch)
treeccb6665ce94cf3b2434923828567a6ebc5be54c4 /dev-tex/tex4ht
parentapp-admin/monit: Bump to version 5.27.0 (diff)
downloadgentoo-8cd24f5270cf032aeb4b5310298762996e8bbc08.tar.gz
gentoo-8cd24f5270cf032aeb4b5310298762996e8bbc08.tar.bz2
gentoo-8cd24f5270cf032aeb4b5310298762996e8bbc08.zip
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>
Diffstat (limited to 'dev-tex/tex4ht')
-rw-r--r--dev-tex/tex4ht/files/tex4ht-format-security.patch22
-rw-r--r--dev-tex/tex4ht/tex4ht-20090611_p1038-r11.ebuild (renamed from dev-tex/tex4ht/tex4ht-20090611_p1038-r10.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 fde075ce33d3..000000000000
--- 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
index b74f28000616..1249e8194ee2 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*