summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch')
-rw-r--r--sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch b/sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch
new file mode 100644
index 000000000000..8016961b515b
--- /dev/null
+++ b/sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch
@@ -0,0 +1,23 @@
+diff -urN mapserver-6.0.0-rc1.old/mapscript/php/bool.h mapserver-6.0.0-rc1/mapscript/php/bool.h
+--- mapserver-6.0.0-rc1.old/mapscript/php/bool.h 1970-01-01 01:00:00.000000000 +0100
++++ mapserver-6.0.0-rc1/mapscript/php/bool.h 2011-05-02 22:00:00.000000000 +0200
+@@ -0,0 +1,8 @@
++#ifndef BOOL_H
++#define BOOL_H
++
++#define bool_t int
++#define TRUE 1
++#define FALSE 0
++
++#endif /* BOOL_H */
+diff -urN mapserver-6.0.0-rc1.old/mapscript/php/php_mapscript.h mapserver-6.0.0-rc1/mapscript/php/php_mapscript.h
+--- mapserver-6.0.0-rc1.old/mapscript/php/php_mapscript.h 2011-05-02 12:10:03.000000000 +0200
++++ mapserver-6.0.0-rc1/mapscript/php/php_mapscript.h 2011-05-02 22:00:11.000000000 +0200
+@@ -32,6 +32,7 @@
+ #ifndef PHP_MAPSCRIPT_H
+ #define PHP_MAPSCRIPT_H
+
++#include "bool.h"
+ #include "php.h"
+ #include "zend_interfaces.h"
+ #include "php_mapscript_util.h"