aboutsummaryrefslogtreecommitdiff
path: root/graphics/xfig-devel/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfig-devel/files/patch-aa')
-rw-r--r--graphics/xfig-devel/files/patch-aa72
1 files changed, 46 insertions, 26 deletions
diff --git a/graphics/xfig-devel/files/patch-aa b/graphics/xfig-devel/files/patch-aa
index d10bdb3b9572..4569f2ad7e56 100644
--- a/graphics/xfig-devel/files/patch-aa
+++ b/graphics/xfig-devel/files/patch-aa
@@ -1,40 +1,60 @@
---- Imakefile.orig Thu Aug 17 20:24:24 1995
-+++ Imakefile Sun Sep 24 12:52:35 1995
-@@ -42,10 +42,10 @@
- XCOMM You need XPM version 3.4c or newer. This is available from ftp.x.org
- XCOMM in /contrib/libraries.
-
--XCOMM XPMDEFINES = -DUSE_XPM -DUSE_XPM_ICON
--XCOMM XPMLIBDIR = /usr/lib
--XCOMM XPMINCDIR = /usr/include/X11
--XCOMM XPMLIB = -L$(XPMLIBDIR) -lXpm
-+XPMDEFINES = -DUSE_XPM -DUSE_XPM_ICON
-+XPMLIBDIR = $(USRLIBDIR)
-+XPMINCDIR = $(INCROOT)/X11
-+XPMLIB = -L$(XPMLIBDIR) -lXpm
-
- XCOMM If you have installed the jpeg library on your system, uncomment the
- XCOMM USEINSTALLEDJPEG variable, change the JPEGLIBDIR variable to the directory
-@@ -56,11 +56,11 @@
+--- Imakefile.orig Fri Aug 22 16:59:16 1997
++++ Imakefile Tue Aug 26 13:14:52 1997
+@@ -46,12 +46,12 @@
XCOMM set JPEGLIBDIR after the #else to the directory where you have the source
XCOMM for jpeg.
-XCOMM #define USEINSTALLEDJPEG
+#define USEINSTALLEDJPEG
+ XCOMM Uncomment the following definition for XAWLIB if you want to use
+ XCOMM the 3d Athena Widget Set (highly recommended!)
+
+-XCOMM XAWLIB = -lXaw3d
++XAWLIB = -lXaw3d
+
+ XCOMM Uncomment the following if needed for DECstations running older X11R4
+ XCOMM INCROOT=/usr/include/mit
+@@ -66,12 +66,12 @@
+ XCOMM Change XPMLIB if necessary to point to the xpm library (libXpm)
+ XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
+
+-XCOMM #define USEXPM
+-XCOMM #define USEXPM_ICON
++#define USEXPM
++#define USEXPM_ICON
+
+ #ifdef USEXPM
+ XPMLIBDIR = $(USRLIBDIR)
+-XPMINC = -I$(INCDIR)
++XPMINC = -I$(INCDIR)/X11
+ XPMLIB = -L$(XPMLIBDIR) -lXpm
+ #endif
+
+@@ -79,7 +79,7 @@
+
#ifdef USEINSTALLEDJPEG
JPEGLIBDIR = /usr/local/lib
--JPEGINCDIR = /usr/include/X11
-+JPEGINCDIR = /usr/local/include
+-JPEGINCDIR = -I/usr/include/X11
++JPEGINCDIR = -I/usr/local/include
+ JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
#else
JPEGLIBDIR = ../jpeg
- JPEGINCDIR = $(JPEGLIBDIR)
-@@ -147,7 +147,7 @@
+@@ -112,7 +112,7 @@
+ XCOMM inline functions. With the "INLINE" keyword, you should notice that
+ XCOMM the display will be a bit faster in complex figures
+
+-XCOMM USEINLINE = -DUSE_INLINE
++USEINLINE = -DUSE_INLINE
- XCOMM *** You shouldn't have to change anything below this point. ***
+ XCOMM use (and change) the following if you want the multi-key data base file
+ XCOMM somewhere other than the standard X11 library directory
+@@ -213,7 +213,7 @@
+ #endif
+ #endif
--DEFINES = $(STRDEFINES) -DGSBIT $(XPMDEFINES)
-+DEFINES = $(STRDEFINES) $(XPMDEFINES)
+-DEFINES = $(STRDEFINES) -DGSBIT $(USEINLINE) $(DUSEXPM) \
++DEFINES = $(STRDEFINES) $(USEINLINE) $(DUSEXPM) \
+ $(DUSEXPMICON) $(DUSEGIF) $(DUSEJPEG) $(I18N_DEFS)
XFIGSRC = d_arc.c d_arcbox.c d_box.c d_ellipse.c d_picobj.c \
- d_intspline.c d_line.c d_regpoly.c d_spline.c d_text.c \