mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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*
|
||||
Reference in New Issue
Block a user