summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/ecls/files/0.9f_p1-headers-gentoo.patch')
-rw-r--r--dev-lisp/ecls/files/0.9f_p1-headers-gentoo.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-lisp/ecls/files/0.9f_p1-headers-gentoo.patch b/dev-lisp/ecls/files/0.9f_p1-headers-gentoo.patch
new file mode 100644
index 000000000000..a2c4911b0ff6
--- /dev/null
+++ b/dev-lisp/ecls/files/0.9f_p1-headers-gentoo.patch
@@ -0,0 +1,36 @@
+diff --exclude 'Makefile*' --exclude '*~' -ur ecl-0.9f.orig/src/h/ecl.h ecl-0.9f/src/h/ecl.h
+--- ecl-0.9f.orig/src/h/ecl.h 2004-11-29 18:46:38.000000000 -0600
++++ ecl-0.9f/src/h/ecl.h 2004-11-29 21:13:29.099069235 -0600
+@@ -13,6 +13,9 @@
+ See file '../Copyright' for full details.
+ */
+
++#ifndef __ECL_H__
++#define __ECL_H__
++
+ #ifndef _MSC_VER
+ #include <sys/param.h> /* includes <sys/signal.h> and <sys/types.h> */
+ #else
+@@ -54,3 +57,5 @@
+ #ifdef LOCATIVE
+ #include <unify.h>
+ #endif
++
++#endif
+diff --exclude 'Makefile*' --exclude '*~' -ur ecl-0.9f.orig/src/h/object.h ecl-0.9f/src/h/object.h
+--- ecl-0.9f.orig/src/h/object.h 2004-11-29 18:46:38.000000000 -0600
++++ ecl-0.9f/src/h/object.h 2004-11-29 21:13:07.333474284 -0600
+@@ -22,8 +22,13 @@
+ Integer and boolean types (see config.h)
+ */
+
++#ifndef TRUE
+ #define TRUE 1 /* boolean true value */
++#endif
++
++#ifndef FALSE
+ #define FALSE 0 /* boolean false value */
++#endif
+
+ #define CHAR_CODE_LIMIT 256 /* ASCII character code limit */
+