rpms/php/devel php-5.2.3-macropen.patch, NONE, 1.1 php.spec, 1.143, 1.144
Joe Orton (jorton)
fedora-extras-commits at redhat.com
Fri Aug 10 12:29:59 UTC 2007
- Previous message (by thread): rpms/dovecot/devel .cvsignore, 1.29, 1.30 dovecot.spec, 1.86, 1.87 sources, 1.32, 1.33 dovecot-1.1.alpha1-split.patch, 1.1, NONE
- Next message (by thread): rpms/kernel-xen-2.6/F-7 linux-2.6-xen-add-packet_auxdata-cmsg-1.patch, NONE, 1.1 linux-2.6-xen-add-packet_auxdata-cmsg-2.patch, NONE, 1.1 linux-2.6-xen-af_packet-no-skb_checksum_setup.patch, NONE, 1.1 kernel-xen.spec, 1.41, 1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jorton
Update of /cvs/extras/rpms/php/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13608
Modified Files:
php.spec
Added Files:
php-5.2.3-macropen.patch
Log Message:
* Fri Aug 10 2007 Joe Orton <jorton at redhat.com> 5.2.3-6
- fix build with new glibc
- fix License
php-5.2.3-macropen.patch:
--- NEW FILE php-5.2.3-macropen.patch ---
--- 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;
Index: php.spec
===================================================================
RCS file: /cvs/extras/rpms/php/devel/php.spec,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- php.spec 16 Jul 2007 06:05:06 -0000 1.143
+++ php.spec 10 Aug 2007 12:29:27 -0000 1.144
@@ -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 @@
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 @@
%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 @@
%files mssql -f files.mssql
%changelog
+* Fri Aug 10 2007 Joe Orton <jorton at redhat.com> 5.2.3-6
+- fix build with new glibc
+- fix License
+
* Mon Jul 16 2007 Joe Orton <jorton at redhat.com> 5.2.3-5
- define php_extdir in macros.php
- Previous message (by thread): rpms/dovecot/devel .cvsignore, 1.29, 1.30 dovecot.spec, 1.86, 1.87 sources, 1.32, 1.33 dovecot-1.1.alpha1-split.patch, 1.1, NONE
- Next message (by thread): rpms/kernel-xen-2.6/F-7 linux-2.6-xen-add-packet_auxdata-cmsg-1.patch, NONE, 1.1 linux-2.6-xen-add-packet_auxdata-cmsg-2.patch, NONE, 1.1 linux-2.6-xen-af_packet-no-skb_checksum_setup.patch, NONE, 1.1 kernel-xen.spec, 1.41, 1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list