summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-11 23:02:21 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-11 23:02:21 +0000
commite574e7aa2b9cc4598a3a29d2e6d6a86e4e9a3d81 (patch)
tree99f98ef0a6611e3ac226a418d15beeb3821dbe97 /dev-php/php-cgi
parentrespect USE=pam (diff)
downloadgentoo-2-e574e7aa2b9cc4598a3a29d2e6d6a86e4e9a3d81.tar.gz
gentoo-2-e574e7aa2b9cc4598a3a29d2e6d6a86e4e9a3d81.tar.bz2
gentoo-2-e574e7aa2b9cc4598a3a29d2e6d6a86e4e9a3d81.zip
Add fix for ia64/s390.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-php/php-cgi')
-rw-r--r--dev-php/php-cgi/ChangeLog6
-rw-r--r--dev-php/php-cgi/files/php-cgi-5.0.3-missing-arches.patch13
-rw-r--r--dev-php/php-cgi/php-cgi-5.0.3.ebuild3
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-php/php-cgi/ChangeLog b/dev-php/php-cgi/ChangeLog
index f2101855d632..ca4f0c709b65 100644
--- a/dev-php/php-cgi/ChangeLog
+++ b/dev-php/php-cgi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-php/php-cgi
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/ChangeLog,v 1.53 2005/02/03 19:15:42 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/ChangeLog,v 1.54 2005/02/11 23:00:42 vapier Exp $
+
+ 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/php-cgi-5.0.3-missing-arches.patch, php-cgi-5.0.3.ebuild:
+ Add fix for ia64/s390.
03 Feb 2005; Marcus D. Hanwell <cryos@gentoo.org> php-cgi-5.0.3.ebuild:
Marked ~amd64.
diff --git a/dev-php/php-cgi/files/php-cgi-5.0.3-missing-arches.patch b/dev-php/php-cgi/files/php-cgi-5.0.3-missing-arches.patch
new file mode 100644
index 000000000000..86c5e067401e
--- /dev/null
+++ b/dev-php/php-cgi/files/php-cgi-5.0.3-missing-arches.patch
@@ -0,0 +1,13 @@
+Silly php devs forgot about poor old ia64/s390 :(
+
+--- php-5.0.3/Zend/zend_strtod.c
++++ php-5.0.3/Zend/zend_strtod.c
+@@ -99,7 +99,7 @@
+ defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
+ defined(__powerpc__) || defined(__ppc__) || defined(__m88k__) || \
+ defined(__hppa__) || defined(__x86_64__) || (defined(__arm__) && \
+- defined(__VFP_FP__))
++ defined(__VFP_FP__)) || defined(__ia64__) || defined(__s390__)
+ #include <sys/types.h>
+ #if BYTE_ORDER == BIG_ENDIAN
+ #define IEEE_BIG_ENDIAN
diff --git a/dev-php/php-cgi/php-cgi-5.0.3.ebuild b/dev-php/php-cgi/php-cgi-5.0.3.ebuild
index 15e6975ef962..df46220dead5 100644
--- a/dev-php/php-cgi/php-cgi-5.0.3.ebuild
+++ b/dev-php/php-cgi/php-cgi-5.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/php-cgi-5.0.3.ebuild,v 1.3 2005/02/03 19:15:42 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/php-cgi-5.0.3.ebuild,v 1.4 2005/02/11 23:00:42 vapier Exp $
PHPSAPI="cgi"
MY_P="php-${PV}"
@@ -21,6 +21,7 @@ PROVIDE="virtual/php-${PV} virtual/httpd-php-${PV}"
src_unpack() {
php5-sapi_src_unpack
[ "${ARCH}" == "sparc" ] && epatch ${FILESDIR}/stdint.diff
+ epatch ${FILESDIR}/${P}-missing-arches.patch
}
src_compile() {