public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: * Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
@ 2026-11-27 7:24 jorton
0 siblings, 0 replies; only message in thread
From: jorton @ 2026-11-27 7:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 2b2e42f5b4b46e8ae70fea4bc54d670bd4e40f3f
Author : jorton <jorton@fedoraproject.org>
Date : 2009-02-04T11:39:55+00:00
Stats : +161/-172 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/2b2e42f5b4b46e8ae70fea4bc54d670bd4e40f3f?branch=private-php86
Log:
* Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
- fix patch fuzz, renumber patches
---
diff --git a/php-4.3.3-install.patch b/php-4.3.3-install.patch
deleted file mode 100644
index 93115cf..0000000
--- a/php-4.3.3-install.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- php-4.3.3/sapi/apache2handler/config.m4.install
-+++ php-4.3.3/sapi/apache2handler/config.m4
-@@ -59,7 +59,7 @@
- fi
-
- APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
-- if test -z `$APXS -q SYSCONFDIR`; then
-+ if true; then
- INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
- $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
- -i -n php4"
diff --git a/php-5.0.2-phpize64.patch b/php-5.0.2-phpize64.patch
deleted file mode 100644
index d81074d..0000000
--- a/php-5.0.2-phpize64.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-
-Install phpize into libdir.
-
---- php-5.0.5/scripts/Makefile.frag.phpize64
-+++ php-5.0.5/scripts/Makefile.frag
-@@ -4,7 +4,7 @@
- #
-
- phpincludedir = $(includedir)/php
--phpbuilddir = $(libdir)/build
-+phpbuilddir = $(libdir)/php/build
-
- BUILD_FILES = \
- scripts/phpize.m4 \
---- php-5.0.5/scripts/phpize.in.phpize64
-+++ php-5.0.5/scripts/phpize.in
-@@ -3,7 +3,7 @@
- # Variable declaration
- prefix='@prefix@'
- exec_prefix="`eval echo @exec_prefix@`"
--phpdir="`eval echo @libdir@`/build"
-+phpdir="@libdir@/php/build"
- includedir="`eval echo @includedir@`/php"
- builddir="`pwd`"
-
diff --git a/php-5.2.4-odbc.patch b/php-5.2.4-odbc.patch
deleted file mode 100644
index 99681a6..0000000
--- a/php-5.2.4-odbc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- php-5.2.4/ext/odbc/config.m4.odbc
-+++ php-5.2.4/ext/odbc/config.m4
-@@ -423,6 +423,8 @@ PHP_ARG_WITH(unixODBC,,
- PHP_ODBC_CHECK_HEADER(sqlext.h)
- AC_DEFINE(HAVE_UNIXODBC,1,[ ])
- AC_MSG_RESULT([$ext_output])
-+ ODBC_SHARED_LIBADD="-lodbc -lodbcpsql"
-+ PHP_SUBST(ODBC_SHARED_LIBADD)
- fi
- fi
-
diff --git a/php-5.2.6-gnusrc.patch b/php-5.2.6-gnusrc.patch
deleted file mode 100644
index 1e02bdd..0000000
--- a/php-5.2.6-gnusrc.patch
+++ /dev/null
@@ -1,102 +0,0 @@
---- php-5.2.6/configure.in.gnusrc
-+++ php-5.2.6/configure.in
-@@ -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 -------------------------------------------------------------------------
-
---- php-5.2.6/ext/interbase/interbase.c.gnusrc
-+++ php-5.2.6/ext/interbase/interbase.c
-@@ -24,7 +24,6 @@
- #include "config.h"
- #endif
-
--#define _GNU_SOURCE
-
- #include "php.h"
-
---- php-5.2.6/ext/pdo_firebird/firebird_driver.c.gnusrc
-+++ php-5.2.6/ext/pdo_firebird/firebird_driver.c
-@@ -22,7 +22,6 @@
- #include "config.h"
- #endif
-
--#define _GNU_SOURCE
-
- #include "php.h"
- #include "php_ini.h"
---- php-5.2.6/ext/standard/file.c.gnusrc
-+++ php-5.2.6/ext/standard/file.c
-@@ -118,7 +118,6 @@ php_file_globals file_globals;
-
- #ifdef HAVE_FNMATCH
- #ifndef _GNU_SOURCE
--#define _GNU_SOURCE
- #endif
- #include <fnmatch.h>
- #endif
---- php-5.2.6/ext/zlib/zlib_fopen_wrapper.c.gnusrc
-+++ php-5.2.6/ext/zlib/zlib_fopen_wrapper.c
-@@ -19,7 +19,6 @@
-
- /* $Id$ */
-
--#define _GNU_SOURCE
-
- #include "php.h"
- #include "php_zlib.h"
---- php-5.2.6/main/php.h.gnusrc
-+++ php-5.2.6/main/php.h
-@@ -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"
---- php-5.2.6/main/streams/cast.c.gnusrc
-+++ php-5.2.6/main/streams/cast.c
-@@ -18,7 +18,6 @@
-
- /* $Id$ */
-
--#define _GNU_SOURCE
- #include "php.h"
- #include "php_globals.h"
- #include "php_network.h"
---- php-5.2.6/main/streams/memory.c.gnusrc
-+++ php-5.2.6/main/streams/memory.c
-@@ -18,7 +18,6 @@
-
- /* $Id$ */
-
--#define _GNU_SOURCE
- #include "php.h"
-
- PHPAPI int php_url_decode(char *str, int len);
---- php-5.2.6/main/streams/streams.c.gnusrc
-+++ php-5.2.6/main/streams/streams.c
-@@ -21,7 +21,6 @@
-
- /* $Id$ */
-
--#define _GNU_SOURCE
- #include "php.h"
- #include "php_globals.h"
- #include "php_network.h"
---- php-5.2.6/Zend/zend_language_parser.c.gnusrc
-+++ php-5.2.6/Zend/zend_language_parser.c
-@@ -356,6 +356,8 @@
- #include "zend_API.h"
- #include "zend_constants.h"
-
-+#include <string.h>
-+
-
- #define YYERROR_VERBOSE
- #define YYSTYPE znode
diff --git a/php-5.2.8-gnusrc.patch b/php-5.2.8-gnusrc.patch
new file mode 100644
index 0000000..9bad214
--- /dev/null
+++ b/php-5.2.8-gnusrc.patch
@@ -0,0 +1,102 @@
+--- php-5.2.8/configure.in.gnusrc
++++ php-5.2.8/configure.in
+@@ -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 -------------------------------------------------------------------------
+
+--- php-5.2.8/ext/interbase/interbase.c.gnusrc
++++ php-5.2.8/ext/interbase/interbase.c
+@@ -24,7 +24,6 @@
+ #include "config.h"
+ #endif
+
+-#define _GNU_SOURCE
+
+ #include "php.h"
+
+--- php-5.2.8/ext/pdo_firebird/firebird_driver.c.gnusrc
++++ php-5.2.8/ext/pdo_firebird/firebird_driver.c
+@@ -22,7 +22,6 @@
+ #include "config.h"
+ #endif
+
+-#define _GNU_SOURCE
+
+ #include "php.h"
+ #include "php_ini.h"
+--- php-5.2.8/ext/standard/file.c.gnusrc
++++ php-5.2.8/ext/standard/file.c
+@@ -118,7 +118,6 @@ php_file_globals file_globals;
+
+ #ifdef HAVE_FNMATCH
+ #ifndef _GNU_SOURCE
+-#define _GNU_SOURCE
+ #endif
+ #include <fnmatch.h>
+ #endif
+--- php-5.2.8/ext/zlib/zlib_fopen_wrapper.c.gnusrc
++++ php-5.2.8/ext/zlib/zlib_fopen_wrapper.c
+@@ -19,7 +19,6 @@
+
+ /* $Id$ */
+
+-#define _GNU_SOURCE
+
+ #include "php.h"
+ #include "php_zlib.h"
+--- php-5.2.8/main/php.h.gnusrc
++++ php-5.2.8/main/php.h
+@@ -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"
+--- php-5.2.8/main/streams/cast.c.gnusrc
++++ php-5.2.8/main/streams/cast.c
+@@ -18,7 +18,6 @@
+
+ /* $Id$ */
+
+-#define _GNU_SOURCE
+ #include "php.h"
+ #include "php_globals.h"
+ #include "php_network.h"
+--- php-5.2.8/main/streams/memory.c.gnusrc
++++ php-5.2.8/main/streams/memory.c
+@@ -18,7 +18,6 @@
+
+ /* $Id$ */
+
+-#define _GNU_SOURCE
+ #include "php.h"
+
+ PHPAPI int php_url_decode(char *str, int len);
+--- php-5.2.8/main/streams/streams.c.gnusrc
++++ php-5.2.8/main/streams/streams.c
+@@ -21,7 +21,6 @@
+
+ /* $Id$ */
+
+-#define _GNU_SOURCE
+ #include "php.h"
+ #include "php_globals.h"
+ #include "php_network.h"
+--- php-5.2.8/Zend/zend_language_parser.c.gnusrc
++++ php-5.2.8/Zend/zend_language_parser.c
+@@ -356,6 +356,8 @@
+ #include "zend_API.h"
+ #include "zend_constants.h"
+
++#include <string.h>
++
+
+ #define YYERROR_VERBOSE
+ #define YYSTYPE znode
diff --git a/php-5.2.8-install.patch b/php-5.2.8-install.patch
new file mode 100644
index 0000000..ad615c4
--- /dev/null
+++ b/php-5.2.8-install.patch
@@ -0,0 +1,11 @@
+--- php-5.2.8/sapi/apache2handler/config.m4.install
++++ php-5.2.8/sapi/apache2handler/config.m4
+@@ -68,7 +68,7 @@ if test "$PHP_APXS2" != "no"; then
+ fi
+
+ APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
+- if test -z `$APXS -q SYSCONFDIR`; then
++ if true; then
+ INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
+ $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
+ -i -n php5"
diff --git a/php-5.2.8-phpize64.patch b/php-5.2.8-phpize64.patch
new file mode 100644
index 0000000..7a14eb5
--- /dev/null
+++ b/php-5.2.8-phpize64.patch
@@ -0,0 +1,22 @@
+--- php-5.2.8/scripts/Makefile.frag.phpize64
++++ php-5.2.8/scripts/Makefile.frag
+@@ -4,7 +4,7 @@
+ #
+
+ phpincludedir = $(includedir)/php
+-phpbuilddir = $(libdir)/build
++phpbuilddir = $(libdir)/php/build
+
+ BUILD_FILES = \
+ scripts/phpize.m4 \
+--- php-5.2.8/scripts/phpize.in.phpize64
++++ php-5.2.8/scripts/phpize.in
+@@ -3,7 +3,7 @@
+ # Variable declaration
+ prefix='@prefix@'
+ exec_prefix="`eval echo @exec_prefix@`"
+-phpdir="`eval echo @libdir@`/build"
++phpdir="@libdir@/php/build"
+ includedir="`eval echo @includedir@`/php"
+ builddir="`pwd`"
+ SED="@SED@"
diff --git a/php.spec b/php.spec
index 1448d85..53ad2ce 100644
--- a/php.spec
+++ b/php.spec
@@ -6,7 +6,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: 5.2.8
-Release: 7%{?dist}
+Release: 8%{?dist}
License: PHP
Group: Development/Languages
URL: http://www.php.net/
@@ -16,25 +16,25 @@ Source1: php.conf
Source2: php.ini
Source3: macros.php
-Patch1: php-5.2.6-gnusrc.patch
-Patch2: php-4.3.3-install.patch
+Patch1: php-5.2.8-gnusrc.patch
+Patch2: php-5.2.8-install.patch
Patch3: php-5.2.4-norpath.patch
-Patch5: php-5.0.2-phpize64.patch
-Patch8: php-5.2.0-includedir.patch
-Patch9: php-5.2.4-embed.patch
+Patch4: php-5.2.8-phpize64.patch
+Patch5: php-5.2.0-includedir.patch
+Patch6: php-5.2.4-embed.patch
# Fixes for extension modules
-Patch22: php-4.3.11-shutdown.patch
-Patch24: php-5.2.3-macropen.patch
+Patch20: php-4.3.11-shutdown.patch
+Patch21: php-5.2.3-macropen.patch
# Functional changes
-Patch30: php-5.0.4-dlopen.patch
-Patch31: php-5.2.4-easter.patch
-Patch32: php-5.2.6-systzdata.patch
+Patch40: php-5.0.4-dlopen.patch
+Patch41: php-5.2.4-easter.patch
+Patch42: php-5.2.6-systzdata.patch
# Fixes for tests
-Patch50: php-5.2.7-tests-dashn.patch
-Patch51: php-5.0.4-tests-wddx.patch
+Patch60: php-5.2.7-tests-dashn.patch
+Patch61: php-5.0.4-tests-wddx.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -367,19 +367,19 @@ support for using the pspell library to PHP.
%patch1 -p1 -b .gnusrc
%patch2 -p1 -b .install
%patch3 -p1 -b .norpath
-%patch5 -p1 -b .phpize64
-%patch8 -p1 -b .includedir
-%patch9 -p1 -b .embed
+%patch4 -p1 -b .phpize64
+%patch5 -p1 -b .includedir
+%patch6 -p1 -b .embed
-%patch22 -p1 -b .shutdown
-%patch24 -p1 -b .macropen
+%patch20 -p1 -b .shutdown
+%patch21 -p1 -b .macropen
-%patch30 -p1 -b .dlopen
-%patch31 -p1 -b .easter
-%patch32 -p1 -b .systzdata
+%patch40 -p1 -b .dlopen
+%patch41 -p1 -b .easter
+%patch42 -p1 -b .systzdata
-%patch50 -p1 -b .tests-dashn
-%patch51 -p1 -b .tests-wddx
+%patch60 -p1 -b .tests-dashn
+%patch61 -p1 -b .tests-wddx
# Prevent %%doc confusion over LICENSE files
cp Zend/LICENSE Zend/ZEND_LICENSE
@@ -738,6 +738,9 @@ rm files.* macros.php
%files process -f files.process
%changelog
+* Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
+- fix patch fuzz, renumber patches
+
* Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
- drop obsolete configure args
- drop -odbc patch (#483690)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:24 [rpms/php] private-php86: * Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8 jorton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox