]> git.pld-linux.org Git - packages/php.git/blame - php-svn-281516.patch
- make it possible to coinstall phpXY-pdo-pgsql
[packages/php.git] / php-svn-281516.patch
CommitLineData
d1d67c4f
ER
1fix "invalid operands to binary -" error caused by missing stpcpy prototype:
2
3php-5.2.17/Zend/zend_language_parser.c:2581: error: invalid operands to binary -
4php-5.2.17/Zend/zend_language_parser.c: In function `yysyntax_error':
5php-5.2.17/Zend/zend_language_parser.c:2640: warning: assignment makes pointer from integer without a cast
6php-5.2.17/Zend/zend_language_parser.c:2656: warning: assignment makes pointer from integer without a cast
7make: *** [Zend/zend_language_parser.lo] Error 1
8
9http://llvm.org/bugs/show_bug.cgi?id=3443
10http://news.php.net/php.zend-engine.cvs/7639
11http://svn.php.net/viewvc?view=revision&revision=281516
12
13--- php/php-src/branches/PHP_5_3/Zend/zend.h 2009/06/01 17:35:12 281515
14+++ php/php-src/branches/PHP_5_3/Zend/zend.h 2009/06/01 17:51:53 281516
15@@ -34,8 +34,6 @@
16 #define END_EXTERN_C()
17 #endif
18
19-#include <stdio.h>
20-
21 /*
22 * general definitions
23 */
24@@ -66,6 +64,8 @@
25 #endif
26
27 /* all HAVE_XXX test have to be after the include of zend_config above */
28+
29+#include <stdio.h>
30
31 #ifdef HAVE_UNIX_H
32 # include <unix.h>
This page took 0.03491 seconds and 4 git commands to generate.