1
diff -up php-5.3.9/configure.in.gnusrc php-5.3.9/configure.in
2
--- php-5.3.9/configure.in.gnusrc 2012-01-10 12:21:57.000000000 +0100
3
+++ php-5.3.9/configure.in 2012-01-10 18:53:24.020907113 +0100
4
@@ -58,6 +58,8 @@ AC_DEFUN([PHP_EXT_DIR],[ext/$1])dnl
3
@@ -136,6 +136,8 @@ AC_DEFUN([PHP_EXT_DIR],[ext/$1])dnl
5
4
AC_DEFUN([PHP_EXT_SRCDIR],[$abs_srcdir/ext/$1])dnl
6
5
AC_DEFUN([PHP_ALWAYS_SHARED],[])dnl
10
9
dnl Setting up the PHP version based on the information above.
11
10
dnl -------------------------------------------------------------------------
13
diff -up php-5.3.9/ext/interbase/interbase.c.gnusrc php-5.3.9/ext/interbase/interbase.c
14
--- php-5.3.9/ext/interbase/interbase.c.gnusrc 2012-01-01 14:15:04.000000000 +0100
15
+++ php-5.3.9/ext/interbase/interbase.c 2012-01-10 18:53:24.021907113 +0100
12
--- a/ext/interbase/interbase.c
13
+++ b/ext/interbase/interbase.c
17
15
#include "config.h"
24
diff -up php-5.3.9/ext/pdo_firebird/firebird_driver.c.gnusrc php-5.3.9/ext/pdo_firebird/firebird_driver.c
25
--- php-5.3.9/ext/pdo_firebird/firebird_driver.c.gnusrc 2012-01-01 14:15:04.000000000 +0100
26
+++ php-5.3.9/ext/pdo_firebird/firebird_driver.c 2012-01-10 18:53:24.022907113 +0100
22
--- a/ext/pdo_firebird/firebird_driver.c
23
+++ b/ext/pdo_firebird/firebird_driver.c
28
25
#include "config.h"
34
31
#ifdef ZEND_ENGINE_2
35
diff -up php-5.3.9/ext/standard/file.c.gnusrc php-5.3.9/ext/standard/file.c
36
--- php-5.3.9/ext/standard/file.c.gnusrc 2012-01-01 14:15:04.000000000 +0100
37
+++ php-5.3.9/ext/standard/file.c 2012-01-10 18:53:24.023907113 +0100
38
@@ -113,9 +113,6 @@ php_file_globals file_globals;
32
--- a/ext/standard/file.c
33
+++ b/ext/standard/file.c
34
@@ -112,9 +112,6 @@ php_file_globals file_globals;
41
37
#if defined(HAVE_FNMATCH) && !defined(PHP_WIN32)
45
41
# include <fnmatch.h>
48
diff -up php-5.3.9/ext/zlib/zlib_fopen_wrapper.c.gnusrc php-5.3.9/ext/zlib/zlib_fopen_wrapper.c
49
--- php-5.3.9/ext/zlib/zlib_fopen_wrapper.c.gnusrc 2012-01-01 14:15:04.000000000 +0100
50
+++ php-5.3.9/ext/zlib/zlib_fopen_wrapper.c 2012-01-10 18:53:52.308907791 +0100
44
--- a/ext/zlib/zlib_fopen_wrapper.c
45
+++ b/ext/zlib/zlib_fopen_wrapper.c
53
/* $Id: zlib_fopen_wrapper.c 321634 2012-01-01 13:15:04Z felipe $ */
55
50
-#define _GNU_SOURCE
58
53
#include "php_zlib.h"
59
54
#include "fopen_wrappers.h"
60
diff -up php-5.3.9/main/php.h.gnusrc php-5.3.9/main/php.h
61
--- php-5.3.9/main/php.h.gnusrc 2012-01-01 14:15:04.000000000 +0100
62
+++ php-5.3.9/main/php.h 2012-01-10 18:53:24.025907114 +0100
64
58
#define PHP_HAVE_STREAMS
68
62
#include "php_version.h"
70
64
#include "zend_qsort.h"
71
diff -up php-5.3.9/main/streams/cast.c.gnusrc php-5.3.9/main/streams/cast.c
72
--- php-5.3.9/main/streams/cast.c.gnusrc 2012-01-01 14:15:04.000000000 +0100
73
+++ php-5.3.9/main/streams/cast.c 2012-01-10 18:54:09.479908202 +0100
65
--- a/main/streams/cast.c
66
+++ b/main/streams/cast.c
76
/* $Id: cast.c 321634 2012-01-01 13:15:04Z felipe $ */
78
71
-#define _GNU_SOURCE
80
73
#include "php_globals.h"
81
74
#include "php_network.h"
82
diff -up php-5.3.9/main/streams/memory.c.gnusrc php-5.3.9/main/streams/memory.c
83
--- php-5.3.9/main/streams/memory.c.gnusrc 2012-01-01 14:15:04.000000000 +0100
84
+++ php-5.3.9/main/streams/memory.c 2012-01-10 18:54:25.102908576 +0100
75
--- a/main/streams/memory.c
76
+++ b/main/streams/memory.c
87
/* $Id: memory.c 321634 2012-01-01 13:15:04Z felipe $ */
89
81
-#define _GNU_SOURCE
92
84
PHPAPI int php_url_decode(char *str, int len);
93
diff -up php-5.3.9/main/streams/streams.c.gnusrc php-5.3.9/main/streams/streams.c
94
--- php-5.3.9/main/streams/streams.c.gnusrc 2012-01-01 14:15:04.000000000 +0100
95
+++ php-5.3.9/main/streams/streams.c 2012-01-10 18:54:42.953909003 +0100
85
--- a/main/streams/streams.c
86
+++ b/main/streams/streams.c
98
/* $Id: streams.c 321634 2012-01-01 13:15:04Z felipe $ */
100
91
-#define _GNU_SOURCE
102
93
#include "php_globals.h"
103
94
#include "php_network.h"
104
diff -up php-5.3.9/Zend/zend_language_parser.c.gnusrc php-5.3.9/Zend/zend_language_parser.c
105
--- php-5.3.9/Zend/zend_language_parser.c.gnusrc 2012-01-10 14:37:07.000000000 +0100
106
+++ php-5.3.9/Zend/zend_language_parser.c 2012-01-10 18:53:24.031907115 +0100
108
#include "zend_API.h"
109
#include "zend_constants.h"
95
--- a/Zend/zend_language_parser.c
96
+++ b/Zend/zend_language_parser.c
98
#define yydebug zenddebug
99
#define yynerrs zendnerrs
111
101
+#include <string.h>
114
#define YYERROR_VERBOSE
115
#define YYSTYPE znode