summaryrefslogtreecommitdiff
path: root/lang/php53/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53/patches/patch-ar')
-rw-r--r--lang/php53/patches/patch-ar14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/php53/patches/patch-ar b/lang/php53/patches/patch-ar
new file mode 100644
index 00000000000..1d132342a85
--- /dev/null
+++ b/lang/php53/patches/patch-ar
@@ -0,0 +1,14 @@
+$NetBSD: patch-ar,v 1.1 2011/01/07 09:20:16 taca Exp $
+
+Fix for VAX floating point handling (Bug #53682), r307192 from PHP's repositry.
+
+--- Zend/zend_strtod.c.orig 2011-01-05 13:32:26.000000000 +0000
++++ Zend/zend_strtod.c
+@@ -164,6 +164,7 @@ typedef unsigned long int uint32_t;
+
+ #ifdef __vax__
+ #define VAX
++#undef IEEE_LITTLE_ENDIAN
+ #endif
+
+ #if defined(_MSC_VER)