diff -ru transfig.3.2.3d/fig2dev/fig2dev.h transfig.3.2.3d-patched/fig2dev/fig2dev.h --- transfig.3.2.3d/fig2dev/fig2dev.h Fri Jan 12 17:12:09 2001 +++ transfig.3.2.3d-patched/fig2dev/fig2dev.h Thu Aug 29 08:41:59 2002 @@ -186,7 +186,7 @@ #endif /* MAXPATHLEN */ #endif /* PATH_MAX */ -#ifndef __NetBSD__ +#if ( !defined(__NetBSD__) && !defined(__DARWIN__)) extern int sys_nerr, errno; #endif diff -cr transfig.3.2.3d/fig2dev/Imakefile transfig.3.2.3d.patched/fig2dev/Imakefile *** transfig.3.2.3d/fig2dev/Imakefile Thu Apr 19 11:19:38 2001 --- transfig.3.2.3d.patched/fig2dev/Imakefile Wed Jul 11 09:48:56 2001 *************** *** 28,40 **** XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled XCOMM and installed xfig. This will be made automatic in the future. ! XFIGLIBDIR = /usr/local/lib/X11/xfig XCOMM ****** XCOMM If your system has the strerror() function (doesn't have sys_errlist) then XCOMM comment out NEED_STRERROR with an XCOMM comment. ! NEED_STRERROR = -DNEED_STRERROR XCOMM The following probably only applies to Windows 9x/NT: XCOMM If your system can open files in text and binary modes and has the --- 28,40 ---- XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled XCOMM and installed xfig. This will be made automatic in the future. ! XFIGLIBDIR = $(PREFIX)/share/xfig XCOMM ****** XCOMM If your system has the strerror() function (doesn't have sys_errlist) then XCOMM comment out NEED_STRERROR with an XCOMM comment. ! XCOMM NEED_STRERROR = -DNEED_STRERROR XCOMM The following probably only applies to Windows 9x/NT: XCOMM If your system can open files in text and binary modes and has the *************** *** 65,72 **** #define USEPNG #ifdef USEPNG ! PNGLIBDIR = $(USRLIBDIR) ! PNGINC = -I/usr/include/X11 #endif XCOMM **************** --- 65,72 ---- #define USEPNG #ifdef USEPNG ! PNGLIBDIR = $(PREFIX)/lib ! PNGINC = -I$(PREFIX)/include #endif XCOMM **************** *************** *** 78,88 **** XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h) XCOMM ! XCOMM #define USEXPM #ifdef USEXPM ! XPMLIBDIR = $(USRLIBDIR) ! XPMINC = -I/usr/include/X11 #endif XCOMM **************** --- 78,88 ---- XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h) XCOMM ! #define USEXPM #ifdef USEXPM ! XPMLIBDIR = /usr/X11R6/lib ! XPMINC = -I/usr/X11R6/include/X11 #endif XCOMM **************** *************** *** 104,111 **** #ifdef USEJPEG #ifdef USEINSTALLEDJPEG ! JPEGLIBDIR = /usr/local/lib ! JPEGINCDIR = /usr/include/X11 #else JPEGLIBDIR = ../jpeg JPEGINCDIR = $(JPEGLIBDIR) --- 104,111 ---- #ifdef USEJPEG #ifdef USEINSTALLEDJPEG ! JPEGLIBDIR = $(PREFIX)/lib ! JPEGINCDIR = $(PREFIX)/include #else JPEGLIBDIR = ../jpeg JPEGINCDIR = $(JPEGLIBDIR) *************** *** 134,140 **** DDNFSS = -DNFSS DDLATEX2E_GRAPHICS = -DLATEX2E_GRAPHICS ! XCOMM DDEPSFIG = -DEPSFIG XCOMM **************** XCOMM Comment out the DDDVIPS to NOT use dvips for the DVI-to-PostScript driver --- 134,140 ---- DDNFSS = -DNFSS DDLATEX2E_GRAPHICS = -DLATEX2E_GRAPHICS ! DDEPSFIG = -DEPSFIG XCOMM **************** XCOMM Comment out the DDDVIPS to NOT use dvips for the DVI-to-PostScript driver *************** *** 158,168 **** #ifdef I18N I18N_DEFS = -DI18N ! FIG2DEV_LIBDIR = /usr/local/lib/fig2dev I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\" install:: ! [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR) $(INSTALL) -m 644 -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR) ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \ rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \ --- 158,168 ---- #ifdef I18N I18N_DEFS = -DI18N ! FIG2DEV_LIBDIR = $(PREFIX)/lib/fig2dev I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\" install:: ! [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir -p $(DESTDIR)$(FIG2DEV_LIBDIR) $(INSTALL) -m 644 -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR) ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \ rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \ diff -cr transfig.3.2.3d/fig2dev/fig2dev.h transfig.3.2.3d.patched/fig2dev/fig2dev.h *** transfig.3.2.3d/fig2dev/fig2dev.h Fri Jan 12 15:12:09 2001 --- transfig.3.2.3d.patched/fig2dev/fig2dev.h Wed Jul 11 09:35:08 2001 *************** *** 191,197 **** #endif #if ( !(defined(BSD) && (BSD >= 199306)) && !defined(__NetBSD__) && \ ! !defined(__GNU_LIBRARY__) && !defined(__FreeBSD__) && !defined(__GLIBC__)) extern char *sys_errlist[]; #endif --- 191,197 ---- #endif #if ( !(defined(BSD) && (BSD >= 199306)) && !defined(__NetBSD__) && \ ! !defined(__GNU_LIBRARY__) && !defined(__FreeBSD__) && !defined(__GLIBC__) && !defined(__DARWIN__)) extern char *sys_errlist[]; #endif diff -cr transfig.3.2.3d/transfig/Imakefile transfig.3.2.3d.patched/transfig/Imakefile *** transfig.3.2.3d/transfig/Imakefile Wed Mar 21 12:32:22 2001 --- transfig.3.2.3d.patched/transfig/Imakefile Wed Jul 11 09:35:29 2001 *************** *** 26,32 **** XCOMM \\usepackage{} command for LaTeX2e. XCOMM The default is to use \\documentstyle{} for LaTeX209. ! XCOMM USELATEX2E = -DLATEX2E XCOMM ******* DON'T CHANGE ANYTHIN BELOW THIS POINT ******* --- 26,32 ---- XCOMM \\usepackage{} command for LaTeX2e. XCOMM The default is to use \\documentstyle{} for LaTeX209. ! USELATEX2E = -DLATEX2E XCOMM ******* DON'T CHANGE ANYTHIN BELOW THIS POINT *******