summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/php53/distinfo3
-rw-r--r--lang/php53/patches/patch-ext_standard_basic__functions.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/php53/distinfo b/lang/php53/distinfo
index 745da1b1e1e..b945a5c0376 100644
--- a/lang/php53/distinfo
+++ b/lang/php53/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.42 2012/05/31 15:58:10 taca Exp $
+$NetBSD: distinfo,v 1.43 2012/06/03 21:23:10 abs Exp $
SHA1 (php-5.3.13.tar.bz2) = 8a52dae3fc9e27814c15fc0ebd744bee38305248
RMD160 (php-5.3.13.tar.bz2) = 1ad55e7bd1262471c66d2236fbba76c137960029
@@ -17,6 +17,7 @@ SHA1 (patch-ah) = b20c29c64b3099f77855a5ec28960dc1c4f65c83
SHA1 (patch-ai) = d4766893a2c47a4e4a744248dda265b0a9a66a1f
SHA1 (patch-aj) = d611d13fcc28c5d2b9e9586832ce4b8ae5707b48
SHA1 (patch-al) = fbbee5502e0cd1c47c6e7c15e0d54746414ec32e
+SHA1 (patch-ext_standard_basic__functions.c) = 18596d281017760293189d87d19de9c5c772232d
SHA1 (patch-ext_standard_crypt__freesec.c) = 5851993e4197bec2b61d6e58601173d564fed112
SHA1 (patch-main_streams_cast.c) = c169ccb73dc660e40eff9f9e168374f35eedadad
SHA1 (patch-php__mssql.c) = b46c688ff2d8da33ca2f9beb0eb9182b6edf7e23
diff --git a/lang/php53/patches/patch-ext_standard_basic__functions.c b/lang/php53/patches/patch-ext_standard_basic__functions.c
new file mode 100644
index 00000000000..528ee8f92bd
--- /dev/null
+++ b/lang/php53/patches/patch-ext_standard_basic__functions.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_standard_basic__functions.c,v 1.1 2012/06/03 21:23:11 abs Exp $
+
+Work around VAX FP lack of INF
+
+--- ext/standard/basic_functions.c.orig 2012-05-08 09:22:27.000000000 +0000
++++ ext/standard/basic_functions.c
+@@ -3525,7 +3525,7 @@ PHPAPI double php_get_nan(void) /* {{{ *
+
+ PHPAPI double php_get_inf(void) /* {{{ */
+ {
+-#if HAVE_HUGE_VAL_INF
++#if defined(HAVE_HUGE_VAL_INF) || defined(__vax__)
+ return HUGE_VAL;
+ #elif defined(__i386__) || defined(_X86_) || defined(ALPHA) || defined(_ALPHA) || defined(__alpha)
+ double val = 0.0;