mod_php: update to 5.2.0

This commit is contained in:
Juergen Daubert 2006-11-04 17:41:31 +01:00
parent 78079e455c
commit b75d15ab34
4 changed files with 20 additions and 3 deletions

View File

@ -81,6 +81,8 @@ drwxr-xr-x root/root usr/include/php/ext/date/lib/
-rw-r--r-- root/root usr/include/php/ext/date/php_date.h
drwxr-xr-x root/root usr/include/php/ext/dom/
-rw-r--r-- root/root usr/include/php/ext/dom/xml_common.h
drwxr-xr-x root/root usr/include/php/ext/filter/
-rw-r--r-- root/root usr/include/php/ext/filter/php_filter.h
drwxr-xr-x root/root usr/include/php/ext/hash/
-rw-r--r-- root/root usr/include/php/ext/hash/php_hash.h
-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_adler32.h

View File

@ -1 +1,2 @@
08e423aa314369d4392a36b3f7246afc php-5.1.6.tar.bz2
ff398c8d31b6c3b0511615ae95a618b0 php-5.2.0.patch
e6029fafcee029edcfa2ceed7a005333 php-5.2.0.tar.bz2

View File

@ -5,12 +5,14 @@
# Group: apache
name=mod_php
version=5.1.6
version=5.2.0
release=1
source=(http://www.php.net/distributions/php-$version.tar.bz2)
source=(http://www.php.net/distributions/php-$version.tar.bz2 \
php-$version.patch)
build () {
cd php-$version
patch -p1 -i $SRC/php-$version.patch
sed -i "s/-i -a/-i/" configure
./configure --prefix=/usr \
--with-apxs2=/usr/sbin/apxs \

12
mod_php/php-5.2.0.patch Normal file
View File

@ -0,0 +1,12 @@
diff -Nru php-5.2.0.orig/configure php-5.2.0/configure
--- php-5.2.0.orig/configure 2006-11-03 19:26:01.000000000 +0100
+++ php-5.2.0/configure 2006-11-03 19:41:16.000000000 +0100
@@ -32679,7 +32679,7 @@
- for header_file in $ext_srcdir/php_filter.h; do
+ for header_file in ext/filter/php_filter.h; do
unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'`