STable on sparc wrt #74547, solves #74627
authorGustavo Zacarias <gustavoz@gentoo.org>
Fri, 17 Dec 2004 01:38:38 +0000 (01:38 +0000)
committerGustavo Zacarias <gustavoz@gentoo.org>
Fri, 17 Dec 2004 01:38:38 +0000 (01:38 +0000)
dev-php/mod_php/ChangeLog
dev-php/mod_php/Manifest
dev-php/mod_php/files/stdint.diff [new file with mode: 0644]
dev-php/mod_php/mod_php-4.3.10.ebuild

index 0604c4e35cb0f2bc78d5059d50876039b6ec2f22..d4619e5530a9edc49e0e3b3c239714168bb320e2 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-php/mod_php
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/ChangeLog,v 1.193 2004/12/16 10:42:33 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/ChangeLog,v 1.194 2004/12/17 01:38:38 gustavoz Exp $
+
+  16 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org> +files/stdint.diff,
+  mod_php-4.3.10.ebuild:
+  Stable on sparc wrt #74547, solves #74627
 
   16 Dec 2004; Dylan Carlson <absinthe@gentoo.org> mod_php-4.3.10.ebuild:
   Stable on amd64.
index c0490de22acf3104c0044b9316c2b5570d60cb42..74ac5374c187fc9d31432d4d04f6a07416fe9f14 100644 (file)
@@ -1,4 +1,7 @@
-MD5 e7911c584aa54c5d4a2c24586b64a44f ChangeLog 34373
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 4d999ea7583ce9490c07d8e9a1649230 ChangeLog 34517
 MD5 38fe937e954ab7109395cefa86fcd2d4 metadata.xml 384
 MD5 dd1b8aa8fe7bc6b23eabab0cd0ac9fc9 mod_php-4.3.8.ebuild 5915
 MD5 d28c2e434a6a8f2a19174abbb52ff607 mod_php-4.3.9.ebuild 6028
@@ -7,8 +10,9 @@ MD5 ee2192bcf2a49ea2faf6dc79b9b03099 mod_php-5.0.0-r1.ebuild 4181
 MD5 309b2e76d5d4951508c3376817f1c416 mod_php-5.0.0.ebuild 3997
 MD5 f6c0b2da02a8c55fc260ae228e9cf2f4 mod_php-5.0.1.ebuild 4246
 MD5 98a539b329e9a1198fe9f08a68a2dc16 mod_php-5.0.2.ebuild 4262
-MD5 979f3d18abef85d207b2f9780c600662 mod_php-4.3.10.ebuild 6036
+MD5 6ef53d1a3f96415224736678b20a4294 mod_php-4.3.10.ebuild 6095
 MD5 32e94148f1d4590b6bb66ed97da602fb mod_php-5.0.3.ebuild 4259
+MD5 ad986b02a371b2fea3b4ae5060c9dc81 files/stdint.diff 358
 MD5 79ed63479c494aeb2ed0bc7f5c059fb9 files/70_mod_php.conf 1022
 MD5 80c45eef4f54629e893249f869cff5c6 files/70_mod_php5.conf 484
 MD5 390a659097a43447e44ab5bdd59378b5 files/digest-mod_php-4.3.8 282
@@ -25,3 +29,10 @@ MD5 cd07c33356df77acd61cd300f2869d19 files/php-5.0.0-httpauthfix.patch 518
 MD5 273799e60d5a41a1e6f5ac53781a152f files/php5_soap_persistence_session.diff 1976
 MD5 0b0247c6314c5f7d6685268262edfd24 files/digest-mod_php-4.3.10 206
 MD5 89a3a3b437e24b7ccc044376843d8446 files/digest-mod_php-5.0.3 63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBwji0KRy60XGEcJIRAs2nAKCEmlFSBPOvOv7HYWjwlvbSCD7XvQCdHHaN
+8CIhqjLiA4pfJVwy8I23xbM=
+=8Tix
+-----END PGP SIGNATURE-----
diff --git a/dev-php/mod_php/files/stdint.diff b/dev-php/mod_php/files/stdint.diff
new file mode 100644 (file)
index 0000000..451d7fb
--- /dev/null
@@ -0,0 +1,11 @@
+diff -Nura php-4.3.10/Zend/zend_strtod.c php-4.3.10.stdint/Zend/zend_strtod.c
+--- php-4.3.10/Zend/zend_strtod.c      2004-12-14 05:35:26.000000000 -0300
++++ php-4.3.10.stdint/Zend/zend_strtod.c       2004-12-16 15:33:47.000000000 -0300
+@@ -128,6 +128,7 @@
+ #endif
+ 
+ #if defined(__sparc__) || defined(__ppc__)
++#include <stdint.h>
+ #define u_int32_t uint32_t
+ #endif
+ 
index c4966c95c8619562813e8ee2844885fc83ca16c1..b358a88e5b335a2dfd891fdfd0d43d558b0c2268 100644 (file)
@@ -1,10 +1,10 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.3.10.ebuild,v 1.3 2004/12/16 10:42:33 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.3.10.ebuild,v 1.4 2004/12/17 01:38:38 gustavoz Exp $
 
 IUSE="${IUSE} apache2"
 
-KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa amd64 ~ia64 ~s390 ppc64 ~mips"
+KEYWORDS="x86 ~ppc sparc ~alpha ~hppa amd64 ~ia64 ~s390 ppc64 ~mips"
 
 detectapache() {
        local domsg=
@@ -75,6 +75,7 @@ src_unpack() {
        if [ "${ARCH}" == "amd64" ] ; then
                epatch ${FILESDIR}/mod_php-4.3.4-amd64hack.diff
        fi
+       [ "${ARCH}" == "sparc" ] && epatch ${FILESDIR}/stdint.diff
 
        # bug fix for security problem - bug #39952
        # second revision as the apache2 stuff was resolved upstream