summaryrefslogtreecommitdiff
path: root/lang/php4
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php4')
-rw-r--r--lang/php4/Makefile4
-rw-r--r--lang/php4/distinfo2
-rw-r--r--lang/php4/files/patch-configure2
-rw-r--r--lang/php4/files/patch-ext::standard::datetime.c17
4 files changed, 21 insertions, 4 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile
index 25e97419a897..e6c19b50836d 100644
--- a/lang/php4/Makefile
+++ b/lang/php4/Makefile
@@ -20,7 +20,7 @@
#
PORTNAME= php4
-PORTVERSION= 4.3.3.r4
+PORTVERSION= 4.3.3
PORTREVISION= 0
CATEGORIES?= lang devel www
MASTER_SITES= http://www.php.net/distributions/:release \
@@ -45,7 +45,7 @@ PKGNAMESUFFIX= -cli
.endif
.endif
DISTNAME= php-${PORTVERSION:S/.r/RC/}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:rc
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release
MAINTAINER?= sysadmin@alexdupre.com
COMMENT= PHP Scripting Language (Apache Module and CLI)
diff --git a/lang/php4/distinfo b/lang/php4/distinfo
index df1daf1791c2..d291d145c98e 100644
--- a/lang/php4/distinfo
+++ b/lang/php4/distinfo
@@ -1 +1 @@
-MD5 (php-4.3.3RC4.tar.bz2) = 7d362a89977891f76b54179787b981de
+MD5 (php-4.3.3.tar.bz2) = 1171d96104e2ff2cff9e19789a4a1536
diff --git a/lang/php4/files/patch-configure b/lang/php4/files/patch-configure
index acf76d563b6e..f94115d77820 100644
--- a/lang/php4/files/patch-configure
+++ b/lang/php4/files/patch-configure
@@ -228,7 +228,7 @@
@@ -58977,8 +59151,8 @@
echo $ac_n "checking Oracle version""... $ac_c" 1>&6
- echo "configure:58981: checking Oracle version" >&5
+ echo "configure:58982: checking Oracle version" >&5
- if test -s "$ORACLE_DIR/orainst/unix.rgs"; then
- ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4`
+ if test -s "$ORACLE_DIR/ocommon/install/partial.prd"; then
diff --git a/lang/php4/files/patch-ext::standard::datetime.c b/lang/php4/files/patch-ext::standard::datetime.c
new file mode 100644
index 000000000000..24dc2963df17
--- /dev/null
+++ b/lang/php4/files/patch-ext::standard::datetime.c
@@ -0,0 +1,17 @@
+--- ext/standard/datetime.c.orig Tue Aug 26 11:06:04 2003
++++ ext/standard/datetime.c Tue Aug 26 11:07:27 2003
+@@ -116,7 +116,13 @@
+ /* Let DST be unknown. mktime() should compute the right value
+ ** and behave correctly. Unless the user overrides this.
+ */
+- ta->tm_isdst = -1;
++ if (gm) {
++ ta->tm_isdst = 0;
++ is_dst = 0;
++ } else {
++ ta->tm_isdst = -1;
++ is_dst = -1;
++ }
+
+ /*
+ ** Now change date values with supplied parameters.