summaryrefslogtreecommitdiff
path: root/misc/astrolog/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'misc/astrolog/files/patch-ab')
-rw-r--r--misc/astrolog/files/patch-ab29
1 files changed, 25 insertions, 4 deletions
diff --git a/misc/astrolog/files/patch-ab b/misc/astrolog/files/patch-ab
index 47aa54291c93..adc639f16d4e 100644
--- a/misc/astrolog/files/patch-ab
+++ b/misc/astrolog/files/patch-ab
@@ -1,6 +1,27 @@
---- astrolog.h.orig Wed Dec 23 23:29:51 1998
-+++ astrolog.h Sat Apr 3 05:41:04 1999
-@@ -86,7 +86,7 @@
+--- astrolog.h.orig Thu Jan 26 06:19:59 2006
++++ astrolog.h Thu Jan 26 06:24:50 2006
+@@ -52,7 +52,7 @@
+
+ /*#define MAC /* Comment out this #define if you're not compiling for a Mac. */
+
+-#define X11 /* Comment out this #define if you don't have X windows, or */
++/*#define X11 /* Comment out this #define if you don't have X windows, or */
+ /* else have them and don't wish to compile in X graphics. */
+
+ /*#define WIN /* Comment out this #define if you don't have MS Windows, or */
+@@ -69,9 +69,11 @@
+ /*#define MACG /* Comment out this #define if you don't have a Mac, or else */
+ /* have one and don't wish to compile in Mac screen graphics. */
+
++#if defined(X11) || defined(WIN) || defined(MSG) || defined(BGI) || defined(MACG)
+ #define MOUSE /* Comment out this #define if you don't have a mouse, or */
+ /* don't wish to compile in mouse tracking features. This is */
+ /* only valid if X11, WIN, MSG, BGI, or MACG above are set. */
++#endif
+
+ #define TIME /* Comment out this #define if your compiler can't take the */
+ /* calls to the 'time' or 'localtime' functions as in time.h */
+@@ -86,7 +88,7 @@
/* 'atof' and related functions aren't defined in stdio.h, */
/* such as most PC's, Linux, VMS compilers, and NeXT's. */
@@ -9,7 +30,7 @@
/* which doesn't allow full Ansi function prototypes. This */
/* is for programmers only and has no effect on executable. */
-@@ -131,7 +131,9 @@
+@@ -131,7 +133,9 @@
*/
#ifndef PC