diff options
Diffstat (limited to 'lang/php5/files')
-rw-r--r-- | lang/php5/files/patch-configure | 2 | ||||
-rw-r--r-- | lang/php5/files/patch-ext::standard::datetime.c | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/php5/files/patch-configure b/lang/php5/files/patch-configure index 10b9fafe78b9..2a27455af5db 100644 --- a/lang/php5/files/patch-configure +++ b/lang/php5/files/patch-configure @@ -228,7 +228,7 @@ @@ -57066,8 +57240,8 @@ echo $ac_n "checking Oracle version""... $ac_c" 1>&6 - echo "configure:57069: checking Oracle version" >&5 + echo "configure:58744: 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/php5/files/patch-ext::standard::datetime.c b/lang/php5/files/patch-ext::standard::datetime.c new file mode 100644 index 000000000000..24dc2963df17 --- /dev/null +++ b/lang/php5/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. |