aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xosview
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2002-12-02 01:52:14 +0000
committerMike Silbersack <silby@FreeBSD.org>2002-12-02 01:52:14 +0000
commitcb3cc1c04bd65e75874beda1c131aaa673e7e22f (patch)
treea74cf5f5f4f5f8f7b8307cdf32342898cd0d1fa8 /sysutils/xosview
parent879d568dce4159d12dddf2bc37a045ddee72055e (diff)
downloadports-cb3cc1c04bd65e75874beda1c131aaa673e7e22f.tar.gz
ports-cb3cc1c04bd65e75874beda1c131aaa673e7e22f.zip
Notes
Diffstat (limited to 'sysutils/xosview')
-rw-r--r--sysutils/xosview/files/patch-general.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/xosview/files/patch-general.h b/sysutils/xosview/files/patch-general.h
new file mode 100644
index 000000000000..adb4948d7096
--- /dev/null
+++ b/sysutils/xosview/files/patch-general.h
@@ -0,0 +1,29 @@
+--- general.h.orig Fri Feb 14 01:22:03 1997
++++ general.h Sun Dec 1 19:54:02 2002
+@@ -17,11 +17,14 @@
+ includes but before any local includes. It should NOT be included
+ by any .h files unless there is a REALLY good reason. */
+
++#include "osreldate.h"
+
+ #ifdef __GNUC__
++#if defined(__FreeBSD__) && (__FreeBSD_version < 500035)
+ /* Grab _G_HAVE_BOOL, if possible. */
+ #include <_G_config.h>
+ #endif
++#endif
+
+ #ifndef _G_HAVE_BOOL
+ /* Every GNU system has _G_config.h, I believe, which tells us
+@@ -29,11 +32,6 @@
+ let's just redefine them all. The following lines are directly
+ from g++-include's bool.h file. bgrayson */
+
+-#undef FALSE
+-#undef false
+-#undef TRUE
+-#undef true
+-enum bool { FALSE = 0, false = 0, TRUE = 1, true = 1 };
+ #endif
+
+