summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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*