Upgrade to 4.2.1.
This commit is contained in:
parent
397c3b0e09
commit
70e77fff1f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59296
11 changed files with 15 additions and 53 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= php4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= lang
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../www/mod_php4
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= php4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= lang
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../www/mod_php4
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= php4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= lang
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../www/mod_php4
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
PORTNAME?= mod_php4
|
||||
PORTVERSION= 4.2.0
|
||||
PORTREVISION?= 1
|
||||
PORTVERSION= 4.2.1
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= www
|
||||
MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \
|
||||
http://php.he.net/${PHP_DISTDIR}/ \
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (php-4.2.0.tar.bz2) = a0831e98eb28efb7dabaf7edf686b8b7
|
||||
MD5 (php-4.2.1.tar.bz2) = 7435d86b9267fe5f048046caf1a6158b
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
--- ext/standard/file.c.orig Thu Feb 28 09:26:44 2002
|
||||
+++ ext/standard/file.c Tue May 7 13:57:19 2002
|
||||
@@ -1453,7 +1453,7 @@
|
||||
PHP_FUNCTION(mkdir)
|
||||
{
|
||||
int dir_len, ret;
|
||||
- mode_t mode = 0777;
|
||||
+ long mode = 0777;
|
||||
char *dir;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &dir, &dir_len, &mode) == FAILURE) {
|
||||
@@ -1468,7 +1468,7 @@
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
- ret = VCWD_MKDIR(dir, mode);
|
||||
+ ret = VCWD_MKDIR(dir, (mode_t)mode);
|
||||
if (ret < 0) {
|
||||
php_error(E_WARNING, "mkdir() failed (%s)", strerror(errno));
|
||||
RETURN_FALSE;
|
|
@ -270,7 +270,8 @@ lib/php/build/shtool
|
|||
@dirrm lib/php/Schedule
|
||||
@dirrm lib/php/XML
|
||||
@dirrm lib/php/build
|
||||
@dirrm lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
@dirrm lib/php/extensions/no-debug-%%NON%%zts-20020429
|
||||
@dirrm lib/php/extensions
|
||||
@dirrm lib/php
|
||||
@exec mkdir -p %D/lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
@exec mkdir -p %D/lib/php/extensions/no-debug-%%NON%%zts-20020429
|
||||
@exec mkdir -p %D/lib/php/Image
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
PORTNAME?= mod_php4
|
||||
PORTVERSION= 4.2.0
|
||||
PORTREVISION?= 1
|
||||
PORTVERSION= 4.2.1
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= www
|
||||
MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \
|
||||
http://php.he.net/${PHP_DISTDIR}/ \
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (php-4.2.0.tar.bz2) = a0831e98eb28efb7dabaf7edf686b8b7
|
||||
MD5 (php-4.2.1.tar.bz2) = 7435d86b9267fe5f048046caf1a6158b
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
--- ext/standard/file.c.orig Thu Feb 28 09:26:44 2002
|
||||
+++ ext/standard/file.c Tue May 7 13:57:19 2002
|
||||
@@ -1453,7 +1453,7 @@
|
||||
PHP_FUNCTION(mkdir)
|
||||
{
|
||||
int dir_len, ret;
|
||||
- mode_t mode = 0777;
|
||||
+ long mode = 0777;
|
||||
char *dir;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &dir, &dir_len, &mode) == FAILURE) {
|
||||
@@ -1468,7 +1468,7 @@
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
- ret = VCWD_MKDIR(dir, mode);
|
||||
+ ret = VCWD_MKDIR(dir, (mode_t)mode);
|
||||
if (ret < 0) {
|
||||
php_error(E_WARNING, "mkdir() failed (%s)", strerror(errno));
|
||||
RETURN_FALSE;
|
|
@ -270,7 +270,8 @@ lib/php/build/shtool
|
|||
@dirrm lib/php/Schedule
|
||||
@dirrm lib/php/XML
|
||||
@dirrm lib/php/build
|
||||
@dirrm lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
@dirrm lib/php/extensions/no-debug-%%NON%%zts-20020429
|
||||
@dirrm lib/php/extensions
|
||||
@dirrm lib/php
|
||||
@exec mkdir -p %D/lib/php/extensions/no-debug-%%NON%%zts-20010901
|
||||
@exec mkdir -p %D/lib/php/extensions/no-debug-%%NON%%zts-20020429
|
||||
@exec mkdir -p %D/lib/php/Image
|
||||
|
|
Loading…
Reference in a new issue