Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/mapserver/files: 6.0.0_rc1-bool.patch
Date: Mon, 02 May 2011 20:05:11
Message-Id: 20110502200501.D913A20057@flycatcher.gentoo.org
1 scarabeus 11/05/02 20:05:01
2
3 Added: 6.0.0_rc1-bool.patch
4 Log:
5 Fix undefined errors in php code.
6
7 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/mapserver/files/6.0.0_rc1-bool.patch?rev=1.1&content-type=text/plain
14
15 Index: 6.0.0_rc1-bool.patch
16 ===================================================================
17 diff -urN mapserver-6.0.0-rc1.old/mapscript/php/bool.h mapserver-6.0.0-rc1/mapscript/php/bool.h
18 --- mapserver-6.0.0-rc1.old/mapscript/php/bool.h 1970-01-01 01:00:00.000000000 +0100
19 +++ mapserver-6.0.0-rc1/mapscript/php/bool.h 2011-05-02 22:00:00.000000000 +0200
20 @@ -0,0 +1,8 @@
21 +#ifndef BOOL_H
22 +#define BOOL_H
23 +
24 +#define bool_t int
25 +#define TRUE 1
26 +#define FALSE 0
27 +
28 +#endif /* BOOL_H */
29 diff -urN mapserver-6.0.0-rc1.old/mapscript/php/php_mapscript.h mapserver-6.0.0-rc1/mapscript/php/php_mapscript.h
30 --- mapserver-6.0.0-rc1.old/mapscript/php/php_mapscript.h 2011-05-02 12:10:03.000000000 +0200
31 +++ mapserver-6.0.0-rc1/mapscript/php/php_mapscript.h 2011-05-02 22:00:11.000000000 +0200
32 @@ -32,6 +32,7 @@
33 #ifndef PHP_MAPSCRIPT_H
34 #define PHP_MAPSCRIPT_H
35
36 +#include "bool.h"
37 #include "php.h"
38 #include "zend_interfaces.h"
39 #include "php_mapscript_util.h"