]> git.pld-linux.org Git - packages/php.git/blob - php-svn-281516.patch
- make it possible to coinstall phpXY-pdo-pgsql
[packages/php.git] / php-svn-281516.patch
1 fix "invalid operands to binary -" error caused by missing stpcpy prototype:
2
3 php-5.2.17/Zend/zend_language_parser.c:2581: error: invalid operands to binary -
4 php-5.2.17/Zend/zend_language_parser.c: In function `yysyntax_error':
5 php-5.2.17/Zend/zend_language_parser.c:2640: warning: assignment makes pointer from integer without a cast
6 php-5.2.17/Zend/zend_language_parser.c:2656: warning: assignment makes pointer from integer without a cast
7 make: *** [Zend/zend_language_parser.lo] Error 1
8
9 http://llvm.org/bugs/show_bug.cgi?id=3443
10 http://news.php.net/php.zend-engine.cvs/7639
11 http://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.033713 seconds and 3 git commands to generate.