summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/php5/distinfo3
-rw-r--r--lang/php5/patches/patch-ext_standard_basic__functions.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/php5/distinfo b/lang/php5/distinfo
index cfc98b53109..17b5e9d3a22 100644
--- a/lang/php5/distinfo
+++ b/lang/php5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.94 2012/05/13 16:09:52 taca Exp $
+$NetBSD: distinfo,v 1.95 2012/06/05 08:58:36 abs Exp $
SHA1 (php-5.2.17/php-5.2.17.tar.bz2) = d68f3b09f766990d815a3c4c63c157db8dab8095
RMD160 (php-5.2.17/php-5.2.17.tar.bz2) = 567fa8d718b93fb83a89494c83a8bec224ac99e9
@@ -20,6 +20,7 @@ SHA1 (patch-as) = f7ce5caffe2acdd1f8e9fc8ae6c7ba1d8c6a25c1
SHA1 (patch-ext_exif_exif.c) = 0a6ab268751e633510cb6b334b1bdb84a014b528
SHA1 (patch-ext_shmop_shmop.c) = 6e11b87dd71ff26357b14b61df626c40b40a022d
SHA1 (patch-ext_sockets_sockets.c) = f01eb6020450a62c305bdf59e12eeacbe8764be7
+SHA1 (patch-ext_standard_basic__functions.c) = 897bee7703743a7bf6d6edfd0d7d22cf11eac0c2
SHA1 (patch-ext_zip_lib_zip__name__locate.c) = 4030e37ae4f93dbcb1a3a937a5407c2c406a49d6
SHA1 (patch-ext_zip_php__zip.c) = 134fa566a689d72d63a2fa0aa5c96c4595619089
SHA1 (patch-main_rfc1867.c) = 89a1a0e52402a8f8f1cc5b1ec007f5ab1ab69dc2
diff --git a/lang/php5/patches/patch-ext_standard_basic__functions.c b/lang/php5/patches/patch-ext_standard_basic__functions.c
new file mode 100644
index 00000000000..b83a266fbcd
--- /dev/null
+++ b/lang/php5/patches/patch-ext_standard_basic__functions.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_standard_basic__functions.c,v 1.1 2012/06/05 08:58:36 abs Exp $
+
+Work around VAX FP lack of INF
+
+--- ext/standard/basic_functions.c.orig 2010-06-19 22:23:01.000000000 +0000
++++ ext/standard/basic_functions.c
+@@ -3954,7 +3954,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;