Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL5
:
5.3.20
>
php-5.3.20
> php-5.3.3-gnusrc.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-5.3.3-gnusrc.patch of Package php-5.3.20
diff -up php5.3-201004081030/configure.in.gnusrc php5.3-201004081030/configure.in --- php5.3-201004081030/configure.in.gnusrc 2010-03-19 00:36:53.000000000 +0100 +++ php5.3-201004081030/configure.in 2010-04-08 14:32:20.000000000 +0200 @@ -58,6 +58,8 @@ AC_DEFUN([PHP_EXT_DIR],[ext/$1])dnl AC_DEFUN([PHP_EXT_SRCDIR],[$abs_srcdir/ext/$1])dnl AC_DEFUN([PHP_ALWAYS_SHARED],[])dnl +AC_DEFINE([_GNU_SOURCE], 1, [Define to enable GNU C Library extensions]) + dnl Setting up the PHP version based on the information above. dnl ------------------------------------------------------------------------- diff -up php5.3-201004081030/ext/interbase/interbase.c.gnusrc php5.3-201004081030/ext/interbase/interbase.c --- php5.3-201004081030/ext/interbase/interbase.c.gnusrc 2010-01-03 10:36:55.000000000 +0100 +++ php5.3-201004081030/ext/interbase/interbase.c 2010-04-08 14:32:20.000000000 +0200 @@ -24,7 +24,6 @@ #include "config.h" #endif -#define _GNU_SOURCE #include "php.h" diff -up php5.3-201004081030/ext/pdo_firebird/firebird_driver.c.gnusrc php5.3-201004081030/ext/pdo_firebird/firebird_driver.c --- php5.3-201004081030/ext/pdo_firebird/firebird_driver.c.gnusrc 2010-01-12 14:36:12.000000000 +0100 +++ php5.3-201004081030/ext/pdo_firebird/firebird_driver.c 2010-04-08 14:32:20.000000000 +0200 @@ -22,7 +22,6 @@ #include "config.h" #endif -#define _GNU_SOURCE #include "php.h" #ifdef ZEND_ENGINE_2 diff -up php5.3-201004081030/ext/standard/file.c.gnusrc php5.3-201004081030/ext/standard/file.c --- php5.3-201004081030/ext/standard/file.c.gnusrc 2010-03-19 00:36:53.000000000 +0100 +++ php5.3-201004081030/ext/standard/file.c 2010-04-08 14:32:20.000000000 +0200 @@ -113,9 +113,6 @@ php_file_globals file_globals; #endif #if defined(HAVE_FNMATCH) && !defined(PHP_WIN32) -# ifndef _GNU_SOURCE -# define _GNU_SOURCE -# endif # include <fnmatch.h> #endif diff -up php5.3-201004081030/ext/zlib/zlib_fopen_wrapper.c.gnusrc php5.3-201004081030/ext/zlib/zlib_fopen_wrapper.c --- php5.3-201004081030/ext/zlib/zlib_fopen_wrapper.c.gnusrc 2010-03-12 12:36:27.000000000 +0100 +++ php5.3-201004081030/ext/zlib/zlib_fopen_wrapper.c 2010-04-08 14:33:46.000000000 +0200 @@ -19,8 +19,6 @@ /* $Id: zlib_fopen_wrapper.c 296107 2010-03-12 10:28:59Z jani $ */ -#define _GNU_SOURCE - #include "php.h" #include "php_zlib.h" #include "fopen_wrappers.h" diff -up php5.3-201004081030/main/php.h.gnusrc php5.3-201004081030/main/php.h --- php5.3-201004081030/main/php.h.gnusrc 2010-03-12 12:36:33.000000000 +0100 +++ php5.3-201004081030/main/php.h 2010-04-08 14:32:20.000000000 +0200 @@ -30,6 +30,7 @@ #define PHP_HAVE_STREAMS #define YYDEBUG 0 +#include "php_config.h" #include "php_version.h" #include "zend.h" #include "zend_qsort.h" diff -up php5.3-201004081030/main/streams/cast.c.gnusrc php5.3-201004081030/main/streams/cast.c --- php5.3-201004081030/main/streams/cast.c.gnusrc 2010-01-19 16:36:23.000000000 +0100 +++ php5.3-201004081030/main/streams/cast.c 2010-04-08 14:33:15.000000000 +0200 @@ -18,7 +18,6 @@ /* $Id: cast.c 293732 2010-01-19 13:44:08Z jani $ */ -#define _GNU_SOURCE #include "php.h" #include "php_globals.h" #include "php_network.h" diff -up php5.3-201004081030/main/streams/memory.c.gnusrc php5.3-201004081030/main/streams/memory.c --- php5.3-201004081030/main/streams/memory.c.gnusrc 2010-01-03 10:36:58.000000000 +0100 +++ php5.3-201004081030/main/streams/memory.c 2010-04-08 14:32:20.000000000 +0200 @@ -18,7 +18,6 @@ /* $Id: memory.c 293036 2010-01-03 09:23:27Z sebastian $ */ -#define _GNU_SOURCE #include "php.h" PHPAPI int php_url_decode(char *str, int len); diff -up php5.3-201004081030/Zend/zend_language_parser.c.gnusrc php5.3-201004081030/Zend/zend_language_parser.c --- php5.3-201004081030/Zend/zend_language_parser.c.gnusrc 2010-04-08 12:41:33.000000000 +0200 +++ php5.3-201004081030/Zend/zend_language_parser.c 2010-04-08 14:32:20.000000000 +0200 @@ -366,6 +366,8 @@ #include "zend_API.h" #include "zend_constants.h" +#include <string.h> + #define YYERROR_VERBOSE #define YYSTYPE znode --- php5.3-201005241430/main/streams/streams.c.gnusrc 2010-05-18 22:35:37.000000000 +0200 +++ php5.3-201005241430/main/streams/streams.c 2010-05-24 17:02:08.900419954 +0200 @@ -21,7 +21,6 @@ /* $Id: streams.c 299466 2010-05-18 19:39:39Z pajoye $ */ -#define _GNU_SOURCE #include "php.h" #include "php_globals.h" #include "php_network.h"