[tex-live] dvipdfm(1) segfaults since latest update

Jukka Salmi j+tex-live at 2009.salmi.ch
Wed May 6 16:27:53 CEST 2009


Jukka Salmi --> tex-live (2009-05-06 15:41:21 +0200):
[...]
> It seems that `kpse' is not correctly initialised...

...because in dvipdfm.c's main(), kpse_set_program_name() is only called
if HAVE_KPATHSEA is defined, but that's not the case.  That's probably a
regression introduced with the new build system.

The attached patch seems to fix the problem for me.


Regards, Jukka

-- 
This email fills a much-needed gap in the archives.
-------------- next part --------------
Index: texk/dvipdfm/Makefile.in
===================================================================
--- texk/dvipdfm/Makefile.in	(revision 12938)
+++ texk/dvipdfm/Makefile.in	(working copy)
@@ -255,7 +255,7 @@
 top_srcdir = @top_srcdir@
 ACLOCAL_AMFLAGS = -I ../../m4
 INCLUDES = $(KPATHSEA_INCLUDES) $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES)
-AM_CPPFLAGS = -DKPATHSEA
+AM_CPPFLAGS = -DHAVE_KPATHSEA
 dvipdfm_SOURCES = colors.h colorsp.c colorsp.h dvi.c dvi.h dvicodes.h \
 	dvipdfm.c dvipdfm.h encodings.c encodings.h error.h epdf.c \
 	epdf.h htex.c htex.h jpeg.c jpeg.h macglyphs.h mem.c mem.h \
Index: texk/dvipdfm/Makefile.am
===================================================================
--- texk/dvipdfm/Makefile.am	(revision 12938)
+++ texk/dvipdfm/Makefile.am	(working copy)
@@ -2,7 +2,7 @@
 ACLOCAL_AMFLAGS = -I ../../m4
 
 INCLUDES = $(KPATHSEA_INCLUDES) $(LIBPNG_INCLUDES) $(ZLIB_INCLUDES)
-AM_CPPFLAGS = -DKPATHSEA
+AM_CPPFLAGS = -DHAVE_KPATHSEA
 
 ## FIXME: don't install ebb (use compatible version in dvipdfmx)
 


More information about the tex-live mailing list