*** xfig.3.2.5.orig/Imakefile Mon Apr 7 13:25:26 2008 --- xfig.3.2.5/Imakefile Fri Sep 5 19:30:16 2008 *************** *** 31,37 **** XCOMM for it relative to the BINDIR variable. XCOMM ! BINDIR = /usr/bin XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p ! MKDIRHIER = mkdirhier XCOMM Uncomment and change XAPPLOADDIR to the directory where you want the --- 31,37 ---- XCOMM for it relative to the BINDIR variable. XCOMM ! BINDIR = /opt/xfig-3.2.5/bin XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p ! MKDIRHIER = /bin/sh /usr/openwin/bin/mkdirhier XCOMM Uncomment and change XAPPLOADDIR to the directory where you want the *************** *** 46,50 **** XCOMM purpose of DESTDIR is to test an install process by installing in a benign area. ! XCOMM XAPPLOADDIR = /home/user/xfig XCOMM Uncomment the following definition for XAW3D if you want to use --- 46,50 ---- XCOMM purpose of DESTDIR is to test an install process by installing in a benign area. ! XAPPLOADDIR = //opt/xfig-3.2.5/app-defaults XCOMM Uncomment the following definition for XAW3D if you want to use *************** *** 65,70 **** XAW_OBJ = w_menuentry.o SmeCascade.o SmeBSB.o SimpleMenu.o # ifdef XAW3D ! DUSEXAW3D = -DXAW3D ! XAWLIB = -lXaw3d # endif /* XAW3D */ #endif /* XAW3D1_5E */ --- 65,70 ---- XAW_OBJ = w_menuentry.o SmeCascade.o SmeBSB.o SimpleMenu.o # ifdef XAW3D ! DUSEXAW3D = -I/opt/sfw/include -DXAW3D ! XAWLIB = -R/opt/sfw/lib -L/opt/sfw/lib -lXaw3d # endif /* XAW3D */ #endif /* XAW3D1_5E */ *************** *** 73,78 **** XCOMM are in different places ! PNGLIBDIR = $(USRLIBDIR) ! PNGINC = -I/usr/local/include ZLIBDIR = $(USRLIBDIR) --- 73,78 ---- XCOMM are in different places ! PNGLIBDIR = /usr/lib ! PNGINC = -I/usr/include ZLIBDIR = $(USRLIBDIR) *************** *** 94,99 **** #ifdef USEJPEG #ifdef USEINSTALLEDJPEG ! JPEGLIBDIR = /usr/local/lib ! JPEGINC = -I/usr/include/X11 #else JPEGLIBDIR = ../jpeg --- 94,99 ---- #ifdef USEJPEG #ifdef USEINSTALLEDJPEG ! JPEGLIBDIR = /usr/lib ! JPEGINC = -I/usr/include #else JPEGLIBDIR = ../jpeg *************** *** 117,122 **** #ifdef USEXPM ! XPMLIBDIR = /usr/local/lib ! XPMINC = -I/usr/local/include/X11 #endif --- 117,122 ---- #ifdef USEXPM ! XPMLIBDIR = /usr/lib ! XPMINC = -I/usr/include/X11 #endif *************** *** 167,175 **** XCOMM use this if you want the multi-key data base file in the standard X11 tree ! XFIGLIBDIR = $(LIBDIR)/xfig XCOMM XFIGDOCDIR tells where the html and pdf documentation should go XCOMM XFIGDOCDIR = $(DOCDIR)/xfig ! XFIGDOCDIR = /usr/local/xfig/doc XCOMM MANDIR tells where the standard man pages should go (no need to change it --- 167,175 ---- XCOMM use this if you want the multi-key data base file in the standard X11 tree ! XFIGLIBDIR = /opt/xfig-3.2.5/lib XCOMM XFIGDOCDIR tells where the html and pdf documentation should go XCOMM XFIGDOCDIR = $(DOCDIR)/xfig ! XFIGDOCDIR = /opt/xfig-3.2.5/doc XCOMM MANDIR tells where the standard man pages should go (no need to change it *************** *** 176,180 **** XCOMM if you want the man pages installed in the standard place on your system XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) ! MANDIR = /usr/local/xfig/man XCOMM If your system doesn't have strstr undefine the following definition --- 176,180 ---- XCOMM if you want the man pages installed in the standard place on your system XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) ! MANDIR = /opt/xfig-3.2.5/man/man1 XCOMM If your system doesn't have strstr undefine the following definition *** xfig.3.2.5.orig/u_quartic.c Mon Apr 7 14:00:19 2008 --- xfig.3.2.5/u_quartic.c Fri Sep 5 19:27:25 2008 *************** *** 21,24 **** --- 21,27 ---- #include + #ifndef M_PI + # define M_PI 3.14159265358979323846 + #endif static int *** xfig.3.2.5.orig/w_keyboard.c Mon Apr 7 14:04:47 2008 --- xfig.3.2.5/w_keyboard.c Fri Sep 5 19:27:25 2008 *************** *** 38,41 **** --- 38,46 ---- #endif + /* Solaris regexec() and regcomp() return zero on success */ + #ifndef REG_NOERROR + # define REG_NOERROR 0 + #endif + Boolean keyboard_input_available = False; int keyboard_x; *** xfig.3.2.5.orig/w_drawprim.c Mon Apr 7 19:38:59 2008 --- xfig.3.2.5/w_drawprim.c Fri Sep 5 19:27:25 2008 *************** *** 129,148 **** openwinfonts = False; if (appres.scalablefonts) { ! /* first look for OpenWindow style font names (e.g. times-roman) */ ! if ((fontlist = XListFonts(tool_d, ps_fontinfo[1].name, 1, &count))!=0) { ! openwinfonts = True; /* yes, use them */ ! for (f=0; f #include + #include #undef I