diff options
Diffstat (limited to 'misc/astrolog/patches')
-rw-r--r-- | misc/astrolog/patches/patch-aa | 21 | ||||
-rw-r--r-- | misc/astrolog/patches/patch-ab | 39 |
2 files changed, 60 insertions, 0 deletions
diff --git a/misc/astrolog/patches/patch-aa b/misc/astrolog/patches/patch-aa new file mode 100644 index 00000000000..4af7e5601af --- /dev/null +++ b/misc/astrolog/patches/patch-aa @@ -0,0 +1,21 @@ +*** makefile.unx.bak Sun Sep 29 23:27:00 1996 +--- Makefile Tue Jan 14 01:06:55 1997 +*************** +*** 23,30 **** + charts0.o charts1.o charts2.o charts3.o intrpret.o\ + xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o + # If you don't have X windows, delete the "-lX11" part from the line below: +! LIBS = -lm -lX11 +! CFLAGS = -O + + astrolog:: $(OBJ) + cc -o $(NAME) $(OBJ) $(LIBS) +--- 23,30 ---- + charts0.o charts1.o charts2.o charts3.o intrpret.o\ + xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o + # If you don't have X windows, delete the "-lX11" part from the line below: +! LIBS = -L${X11BASE}/lib -lX11 -lm +! CFLAGS += -I${X11BASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\" + + astrolog:: $(OBJ) + cc -o $(NAME) $(OBJ) $(LIBS) diff --git a/misc/astrolog/patches/patch-ab b/misc/astrolog/patches/patch-ab new file mode 100644 index 00000000000..8da349f1e68 --- /dev/null +++ b/misc/astrolog/patches/patch-ab @@ -0,0 +1,39 @@ +*** astrolog.h.orig Sun Feb 2 23:06:03 1997 +--- astrolog.h Thu May 29 05:06:03 1997 +*************** +*** 82,92 **** + #define ENVIRON /* Comment out this #define if your system doesn't have */ + /* environment variables or can't compile calls to them. */ + +! #define ATOF /* Comment out this #define if you have a system in which */ + /* 'atof' and related functions aren't defined in stdio.h, */ + /* such as most PC's, Linux, VMS compilers, and NeXT's. */ + +! /*#define PROTO /* Comment out this #define if you have an older compiler */ + /* which doesn't allow full Ansi function prototypes. This */ + /* is for programmers only and has no effect on executable. */ + +--- 82,92 ---- + #define ENVIRON /* Comment out this #define if your system doesn't have */ + /* environment variables or can't compile calls to them. */ + +! /*#define ATOF /* Comment out this #define if you have a system in which */ + /* 'atof' and related functions aren't defined in stdio.h, */ + /* such as most PC's, Linux, VMS compilers, and NeXT's. */ + +! #define PROTO /* Comment out this #define if you have an older compiler */ + /* which doesn't allow full Ansi function prototypes. This */ + /* is for programmers only and has no effect on executable. */ + +*************** +*** 131,137 **** +--- 131,139 ---- + */ + + #ifndef PC ++ #ifndef DEFAULT_DIR + #define DEFAULT_DIR "~/astrolog" ++ #endif + #else + #define DEFAULT_DIR "C:\\ASTROLOG" + #endif |