public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: * Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
@ 2026-11-27  7:23 jorton
  0 siblings, 0 replies; only message in thread
From: jorton @ 2026-11-27  7:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/php
            Branch : private-php86
            Commit : 534a34103953ee84534e5a08aa812bab6023da55
            Author : jorton <jorton@fedoraproject.org>
            Date   : 2007-08-10T12:29:27+00:00
            Stats  : +44/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/php/c/534a34103953ee84534e5a08aa812bab6023da55?branch=private-php86

            Log:
            * Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
- fix build with new glibc
- fix License

---
diff --git a/php-5.2.3-macropen.patch b/php-5.2.3-macropen.patch
new file mode 100644
index 0000000..f3dcaa4
--- /dev/null
+++ b/php-5.2.3-macropen.patch
@@ -0,0 +1,36 @@
+--- php-5.2.3/ext/dba/dba.c.macropen
++++ php-5.2.3/ext/dba/dba.c
+@@ -930,7 +930,7 @@
+ 		}
+ 	}
+ 
+-	if (error || hptr->open(info, &error TSRMLS_CC) != SUCCESS) {
++	if (error || (hptr->open)(info, &error TSRMLS_CC) != SUCCESS) {
+ 		dba_close(info TSRMLS_CC);
+ 		php_error_docref2(NULL TSRMLS_CC, Z_STRVAL_PP(args[0]), Z_STRVAL_PP(args[1]), E_WARNING, "Driver initialization failed for handler: %s%s%s", hptr->name, error?": ":"", error?error:"");
+ 		FREENOW;
+--- php-5.2.3/ext/dba/dba_db3.c.macropen
++++ php-5.2.3/ext/dba/dba_db3.c
+@@ -91,7 +91,7 @@
+ 
+ 	if ((err=db_create(&dbp, NULL, 0)) == 0) {
+ 	    dbp->set_errcall(dbp, php_dba_db3_errcall_fcn);
+-	    if ((err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
++	    if ((err=(dbp->open)(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
+ 			dba_db3_data *data;
+ 
+ 			data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
+--- php-5.2.3/ext/dba/dba_db4.c.macropen
++++ php-5.2.3/ext/dba/dba_db4.c
+@@ -99,9 +99,9 @@
+ 	    dbp->set_errcall(dbp, php_dba_db4_errcall_fcn);
+ 	    if (
+ #if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
+-			(err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
++			(err=(dbp->open)(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
+ #else
+-			(err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
++			(err=(dbp->open)(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
+ #endif
+ 			dba_db4_data *data;
+ 

diff --git a/php.spec b/php.spec
index 651311f..0ae3a88 100644
--- a/php.spec
+++ b/php.spec
@@ -6,8 +6,8 @@
 Summary: The PHP HTML-embedded scripting language
 Name: php
 Version: 5.2.3
-Release: 5
-License: The PHP License v3.01
+Release: 6
+License: PHP
 Group: Development/Languages
 URL: http://www.php.net/
 
@@ -26,6 +26,7 @@ Patch8: php-5.2.0-includedir.patch
 Patch21: php-4.3.1-odbc.patch
 Patch22: php-4.3.11-shutdown.patch
 Patch23: php-5.2.2-pdosym.patch
+Patch24: php-5.2.3-macropen.patch
 
 # Functional changes
 Patch30: php-5.0.4-dlopen.patch
@@ -342,6 +343,7 @@ database server which supports TDS can be accessed.
 %patch21 -p1 -b .odbc
 %patch22 -p1 -b .shutdown
 %patch23 -p1 -b .pdosym
+%patch24 -p1 -b .macropen
 
 %patch30 -p1 -b .dlopen
 %patch31 -p1 -b .easter
@@ -678,6 +680,10 @@ rm files.* macros.php
 %files mssql -f files.mssql
 
 %changelog
+* Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6
+- fix build with new glibc
+- fix License
+
 * Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5
 - define php_extdir in macros.php
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:23 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:23 [rpms/php] private-php86: * Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6 jorton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox