summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tgall@gentoo.org>2005-04-17 05:10:06 +0000
committerTom Gall <tgall@gentoo.org>2005-04-17 05:10:06 +0000
commit2dd80215d90ae092b0cb4f99489ad8609e3eb5ff (patch)
tree2f4195c63099a0b9c4e2373f9e434ed7c90cb0d8 /www-client/mozilla
parentadd ppc64 support (diff)
downloadhistorical-2dd80215d90ae092b0cb4f99489ad8609e3eb5ff.tar.gz
historical-2dd80215d90ae092b0cb4f99489ad8609e3eb5ff.tar.bz2
historical-2dd80215d90ae092b0cb4f99489ad8609e3eb5ff.zip
initial ppc64 port
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'www-client/mozilla')
-rw-r--r--www-client/mozilla/ChangeLog6
-rw-r--r--www-client/mozilla/Manifest31
-rw-r--r--www-client/mozilla/files/mozilla-1.7.6-ppc64.patch113
-rw-r--r--www-client/mozilla/mozilla-1.7.6-r1.ebuild6
4 files changed, 138 insertions, 18 deletions
diff --git a/www-client/mozilla/ChangeLog b/www-client/mozilla/ChangeLog
index d51e974326dc..d32a424eaffc 100644
--- a/www-client/mozilla/ChangeLog
+++ b/www-client/mozilla/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/mozilla
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla/ChangeLog,v 1.15 2005/04/16 21:42:24 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla/ChangeLog,v 1.16 2005/04/17 05:10:06 tgall Exp $
+
+ 17 Apr 2005; Tom Gall <tgall@gentoo.org> mozilla-1.7.6-r1.ebuild,
+ +mozilla-1.7.6-ppc64.patch:
+ bug #54853 -- initial ppc64 port
16 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> mozilla-1.7.7.ebuild:
Stable on ppc.
diff --git a/www-client/mozilla/Manifest b/www-client/mozilla/Manifest
index 2f46c75058a6..0c9f3aa5e5f3 100644
--- a/www-client/mozilla/Manifest
+++ b/www-client/mozilla/Manifest
@@ -1,23 +1,24 @@
+MD5 9314bf489e671f1f438fc0dcc5e4d0db ChangeLog 42113
MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
+MD5 003fd9a8ac4f985476cfe5c01c6e43e4 mozilla-1.7.5-r1.ebuild 11182
MD5 8adafba88ad7121d8c24b45212b3d818 mozilla-1.7.5.ebuild 10571
-MD5 0f57569edf6a07c91cf94845e4bed5dc ChangeLog 41980
+MD5 162a1c608a5f8ab33c6dd52089a9d65a mozilla-1.7.6-r1.ebuild 11559
MD5 64198073b82a422fa52090453fd56716 mozilla-1.7.7.ebuild 11494
-MD5 c27231e0c135ceea6641baaa0ee737b6 mozilla-1.7.6-r1.ebuild 11493
-MD5 003fd9a8ac4f985476cfe5c01c6e43e4 mozilla-1.7.5-r1.ebuild 11182
+MD5 b99dabe3c40cfafe2e63bdef95815596 files/10mozilla 105
+MD5 b19c38da8865b9ee5555aeb826d1d360 files/digest-mozilla-1.7.5 203
+MD5 b19c38da8865b9ee5555aeb826d1d360 files/digest-mozilla-1.7.5-r1 203
+MD5 0172084e349ca0f03d8cbe294054223e files/digest-mozilla-1.7.6-r1 203
+MD5 d0e52abf109fe61c4195f0cbf002ae18 files/google.src 706
+MD5 e79634ee1e611182b6c227daa362b20d files/mozilla-1.7.3-4ft2.patch 22360
MD5 278524216669b594ea5b6468a180ed73 files/mozilla-1.7.5-stackgrowth.patch 931
+MD5 23d6b685fd5e49a07cc4a1786871bf47 files/mozilla-alpha-xpcom-subs-fix.patch 4953
MD5 8f8d70da6eb8cf07acbbb85fb0f08636 files/mozilla-hppa.patch 7863
+MD5 e4adf41536cf80df5f8f5f6ff9bd88a7 files/mozilla-rebuild-databases.pl 2310
+MD5 278524216669b594ea5b6468a180ed73 files/mozilla-stackgrowth.patch 931
+MD5 f48be110754a5106f06cd313c22c4337 files/svg-cairo-0.3.0-fix.patch 1063
MD5 7d244b888dbd302c14414cbfc1f62501 files/xft.js 135
MD5 dda9d34fd8970334058d801c524a027c files/digest-mozilla-1.7.7 203
-MD5 d0e52abf109fe61c4195f0cbf002ae18 files/google.src 706
-MD5 0172084e349ca0f03d8cbe294054223e files/digest-mozilla-1.7.6-r1 203
-MD5 f48be110754a5106f06cd313c22c4337 files/svg-cairo-0.3.0-fix.patch 1063
-MD5 b19c38da8865b9ee5555aeb826d1d360 files/digest-mozilla-1.7.5 203
-MD5 23d6b685fd5e49a07cc4a1786871bf47 files/mozilla-alpha-xpcom-subs-fix.patch 4953
-MD5 e79634ee1e611182b6c227daa362b20d files/mozilla-1.7.3-4ft2.patch 22360
-MD5 278524216669b594ea5b6468a180ed73 files/mozilla-stackgrowth.patch 931
-MD5 b99dabe3c40cfafe2e63bdef95815596 files/10mozilla 105
-MD5 b19c38da8865b9ee5555aeb826d1d360 files/digest-mozilla-1.7.5-r1 203
-MD5 e4adf41536cf80df5f8f5f6ff9bd88a7 files/mozilla-rebuild-databases.pl 2310
-MD5 e3c488f3226f61adbb11d6a73ae84209 files/icon/mozilla.desktop 153
-MD5 6d52ff4ce4567db1cad08ea40157a65d files/icon/mozilla-icon.png 2350
+MD5 b7c78ba7ca0c519d0f3d2b80ab4cdd74 files/mozilla-1.7.6-ppc64.patch 3651
MD5 068edb8c46e34027f9c3febc19656c70 files/1.3/mozilla-1.3-fix-RAW-target.patch 328
+MD5 6d52ff4ce4567db1cad08ea40157a65d files/icon/mozilla-icon.png 2350
+MD5 e3c488f3226f61adbb11d6a73ae84209 files/icon/mozilla.desktop 153
diff --git a/www-client/mozilla/files/mozilla-1.7.6-ppc64.patch b/www-client/mozilla/files/mozilla-1.7.6-ppc64.patch
new file mode 100644
index 000000000000..a2cb2354f38e
--- /dev/null
+++ b/www-client/mozilla/files/mozilla-1.7.6-ppc64.patch
@@ -0,0 +1,113 @@
+--- mozilla.orig/security/coreconf/Linux.mk 2004-02-10 20:33:51.000000000 -0600
++++ mozilla/security/coreconf/Linux.mk 2005-04-01 22:41:04.000000000 -0600
+@@ -54,6 +54,10 @@
+ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
+ CPU_ARCH = m68k
+ else
++ifeq ($(OS_TEST),ppc64)
++ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
++ CPU_ARCH = ppc64
++else
+ ifeq ($(OS_TEST),ppc)
+ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
+ CPU_ARCH = ppc
+@@ -117,6 +121,7 @@
+ endif
+ endif
+ endif
++endif
+
+
+ LIBC_TAG = _glibc
+@@ -138,7 +143,7 @@
+ OS_PTHREAD = -lpthread
+ endif
+
+-OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
++OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
+ OS_LIBS = -L/lib $(OS_PTHREAD) -ldl -lc
+
+ ifdef USE_PTHREADS
+--- mozilla.orig/nsprpub/pr/src/io/prprf.c 2004-03-08 21:18:19.000000000 -0600
++++ mozilla/nsprpub/pr/src/io/prprf.c 2005-04-16 13:18:10.000000000 -0500
+@@ -51,7 +51,8 @@
+ ** Note: on some platforms va_list is defined as an array,
+ ** and requires array notation.
+ */
+-#if (defined(LINUX) && defined(__x86_64__))
++#if (defined(LINUX) && defined(__x86_64__)) || \
++ (defined(LINUX) && defined(__powerpc64__))
+ #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar))
+ #elif (defined(LINUX) && defined(__powerpc__)) || \
+ (defined(LINUX) && defined(__s390__)) || \
+diff -uNr mozilla.orig/nsprpub/pr/include/md/_linux.cfg mozilla/nsprpub/pr/include/md/_linux.cfg
+--- mozilla.orig/nsprpub/pr/include/md/_linux.cfg 2004-03-08 21:18:20.000000000 -0600
++++ mozilla/nsprpub/pr/include/md/_linux.cfg 2005-04-16 13:02:50.000000000 -0500
+@@ -45,7 +45,52 @@
+
+ #define PR_AF_INET6 10 /* same as AF_INET6 */
+
+-#ifdef __powerpc__
++#ifdef __powerpc64__
++
++#undef IS_LITTLE_ENDIAN
++#define IS_BIG_ENDIAN 1
++#define IS_64
++
++#define PR_BYTES_PER_BYTE 1
++#define PR_BYTES_PER_SHORT 2
++#define PR_BYTES_PER_INT 4
++#define PR_BYTES_PER_INT64 8
++#define PR_BYTES_PER_LONG 8
++#define PR_BYTES_PER_FLOAT 4
++#define PR_BYTES_PER_DOUBLE 8
++#define PR_BYTES_PER_WORD 8
++#define PR_BYTES_PER_DWORD 8
++
++#define PR_BITS_PER_BYTE 8
++#define PR_BITS_PER_SHORT 16
++#define PR_BITS_PER_INT 32
++#define PR_BITS_PER_INT64 64
++#define PR_BITS_PER_LONG 64
++#define PR_BITS_PER_FLOAT 32
++#define PR_BITS_PER_DOUBLE 64
++#define PR_BITS_PER_WORD 64
++
++#define PR_BITS_PER_BYTE_LOG2 3
++#define PR_BITS_PER_SHORT_LOG2 4
++#define PR_BITS_PER_INT_LOG2 5
++#define PR_BITS_PER_INT64_LOG2 6
++#define PR_BITS_PER_LONG_LOG2 6
++#define PR_BITS_PER_FLOAT_LOG2 5
++#define PR_BITS_PER_DOUBLE_LOG2 6
++#define PR_BITS_PER_WORD_LOG2 6
++
++#define PR_ALIGN_OF_SHORT 2
++#define PR_ALIGN_OF_INT 4
++#define PR_ALIGN_OF_LONG 8
++#define PR_ALIGN_OF_INT64 8
++#define PR_ALIGN_OF_FLOAT 4
++#define PR_ALIGN_OF_DOUBLE 8
++#define PR_ALIGN_OF_POINTER 8
++#define PR_ALIGN_OF_WORD 8
++#define PR_BYTES_PER_WORD_LOG2 3
++#define PR_BYTES_PER_DWORD_LOG2 3
++
++#elif defined(__powerpc__)
+
+ #undef IS_LITTLE_ENDIAN
+ #define IS_BIG_ENDIAN 1
+diff -uNr mozilla.orig/nsprpub/pr/include/md/_linux.h mozilla/nsprpub/pr/include/md/_linux.h
+--- mozilla.orig/nsprpub/pr/include/md/_linux.h 2004-03-08 21:18:20.000000000 -0600
++++ mozilla/nsprpub/pr/include/md/_linux.h 2005-04-16 13:03:27.000000000 -0500
+@@ -43,7 +43,9 @@
+
+ #define PR_LINKER_ARCH "linux"
+ #define _PR_SI_SYSNAME "LINUX"
+-#ifdef __powerpc__
++#ifdef __powerpc64__
++#define _PR_SI_ARCHITECTURE "ppc64"
++#elif defined(__powerpc__)
+ #define _PR_SI_ARCHITECTURE "ppc"
+ #elif defined(__alpha)
+ #define _PR_SI_ARCHITECTURE "alpha"
diff --git a/www-client/mozilla/mozilla-1.7.6-r1.ebuild b/www-client/mozilla/mozilla-1.7.6-r1.ebuild
index 0b39e4d59aa1..8b963f4c9ca0 100644
--- a/www-client/mozilla/mozilla-1.7.6-r1.ebuild
+++ b/www-client/mozilla/mozilla-1.7.6-r1.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/www-client/mozilla/mozilla-1.7.6-r1.ebuild,v 1.11 2005/03/28 09:52:17 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla/mozilla-1.7.6-r1.ebuild,v 1.12 2005/04/17 05:10:06 tgall Exp $
unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
inherit flag-o-matic gcc eutils nsplugins mozilla-launcher mozconfig makeedit multilib
@@ -23,7 +23,7 @@ SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/s
http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
) )"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~ppc64"
SLOT="0"
LICENSE="MPL-1.1 NPL-1.1"
@@ -94,6 +94,8 @@ src_unpack() {
makemake # from mozilla.eclass
done
fi
+
+ use ppc64 && epatch ${FILESDIR}/mozilla-1.7.6-ppc64.patch
}
src_compile() {