pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php4 fix an incorrect test for __ppc__, unbreaking...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02d6a93ffc13
branches:  trunk
changeset: 485709:02d6a93ffc13
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Dec 19 03:50:44 2004 +0000

description:
fix an incorrect test for __ppc__, unbreaking this package on Darwin.

diffstat:

 www/php4/distinfo         |   3 ++-
 www/php4/patches/patch-am |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r e6dfd5c0217c -r 02d6a93ffc13 www/php4/distinfo
--- a/www/php4/distinfo Sun Dec 19 03:42:44 2004 +0000
+++ b/www/php4/distinfo Sun Dec 19 03:50:44 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2004/12/17 00:36:09 tron Exp $
+$NetBSD: distinfo,v 1.37 2004/12/19 03:50:44 grant Exp $
 
 SHA1 (php-4.3.10.tar.bz2) = 3cef4d103f395eb25fa44fcdc8c692c1cf0a2ac0
 Size (php-4.3.10.tar.bz2) = 4026148 bytes
@@ -11,3 +11,4 @@
 SHA1 (patch-aj) = 132b5b5b802f1795deda9487db5f22cfe9edce5d
 SHA1 (patch-ak) = bd2aac1a91ed77208b45747c9d11e87731c6b46f
 SHA1 (patch-al) = 28ad9006b387e2b9984ad49beea21c9d46e63b46
+SHA1 (patch-am) = 1b6dc859a71b04682bf290fc747c8fdb1c3864fb
diff -r e6dfd5c0217c -r 02d6a93ffc13 www/php4/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php4/patches/patch-am Sun Dec 19 03:50:44 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-am,v 1.1 2004/12/19 03:50:44 grant Exp $
+
+--- Zend/zend_strtod.c.orig    2004-12-14 19:35:26.000000000 +1100
++++ Zend/zend_strtod.c
+@@ -127,7 +127,11 @@ static char *rcsid = "$OpenBSD: strtod.c
+ #define IEEE_LITTLE_ENDIAN
+ #endif
+ 
++/* the __ppc__ test alone is wrong on Darwin, which doesn't have uintXX_t */
++/*
+ #if defined(__sparc__) || defined(__ppc__)
++*/
++#if defined(__sparc__) || (defined(__ppc__) && !defined(__APPLE__))
+ #define u_int32_t uint32_t
+ #endif
+ 



Home | Main Index | Thread Index | Old Index