summaryrefslogtreecommitdiff
path: root/lang/php4/files/patch-Zend::zend_strtod.c
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-04-04 09:20:21 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-04-04 09:20:21 +0000
commit2cee0c25ff8d89399897cac7c1dcb1444b2f79d3 (patch)
treeb8af981bc9d3d6808bfc8842257bfae900b60870 /lang/php4/files/patch-Zend::zend_strtod.c
parent- Update to 0.991, aka 1.0beta1 (diff)
Update PHP ports to 4.3.11 and 5.0.4 releases:
- fix security issues - unbreak PEAR packages [1] PR: ports/78516 [1] Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com> [1] Tested by: thierry
Notes
Notes: svn path=/head/; revision=132440
Diffstat (limited to 'lang/php4/files/patch-Zend::zend_strtod.c')
-rw-r--r--lang/php4/files/patch-Zend::zend_strtod.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/lang/php4/files/patch-Zend::zend_strtod.c b/lang/php4/files/patch-Zend::zend_strtod.c
deleted file mode 100644
index f4f726c775bd..000000000000
--- a/lang/php4/files/patch-Zend::zend_strtod.c
+++ /dev/null
@@ -1,58 +0,0 @@
---- Zend/zend_strtod.c.orig 2004/12/14 08:35:26
-+++ Zend/zend_strtod.c 2004/12/21 01:08:09
-@@ -91,22 +91,21 @@
-
- #include <zend_strtod.h>
-
--#if defined(LIBC_SCCS) && !defined(lint)
--static char *rcsid = "$OpenBSD: strtod.c,v 1.19 2004/02/03 16:52:11 drahn Exp $";
--#endif /* LIBC_SCCS and not lint */
--
--#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
-- defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
-- defined(__powerpc__) || defined(__ppc__) || defined(__m88k__) || \
-- defined(__hppa__) || defined(__x86_64__) || (defined(__arm__) && \
-- defined(__VFP_FP__))
-+#if defined(HAVE_INTTYPES_H)
-+#include <inttypes.h>
-+#elif defined(HAVE_STDINT_H)
-+#include <stdint.h>
-+#endif
-+
-+#ifdef HAVE_SYS_TYPES_H
- #include <sys/types.h>
--#if BYTE_ORDER == BIG_ENDIAN
-+#endif
-+
-+#ifdef WORDS_BIGENDIAN
- #define IEEE_BIG_ENDIAN
- #else
- #define IEEE_LITTLE_ENDIAN
- #endif
--#endif
-
- #if defined(__arm__) && !defined(__VFP_FP__)
- /*
-@@ -123,20 +122,16 @@ static char *rcsid = "$OpenBSD: strtod.c
-
- #if defined(_MSC_VER)
- #define int32_t __int32
--#define u_int32_t unsigned __int32
-+#define uint32_t unsigned __int32
- #define IEEE_LITTLE_ENDIAN
- #endif
-
--#if defined(__sparc__) || defined(__ppc__)
--#define u_int32_t uint32_t
--#endif
--
- #ifdef HAVE_SYS_BITYPES_H
- #include <sys/bitypes.h>
- #endif
-
- #define Long int32_t
--#define ULong u_int32_t
-+#define ULong uint32_t
-
- #ifdef __cplusplus
- #include "malloc.h"