From 7059589bd64b2a99cab6df938b191d4e9fce56bd Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 13 Dec 2003 21:35:43 +0000 Subject: Port to amd64 (note: needs ld-elf.so.1 bugfix to actually work) I've taken a chance and split the sparc64 and alpha mega-diffs up because sparc64 patched the result of alpha's patches, and amd64 needed to do the same again - but it was sorted lexically before alpha/sparc64. I've grouped the xptcall patches together since they are standalone and split up and merged the other infrastructure jumbo-patches. I also attempted to sync up the nspr vs firebird diffs for sparc64 and alpha because they disagreed. HOWEVER... While this port 'depends' on the nspr port, it doesn't actually *use* it. It should probably be removed from the LIB_DEPENDS list. Note that the amd64 xptcall code came from SuSE via the mozilla bugzilla database. --- www/firefox10/files/patch-nsprpub-pr-include-md-_freebsd.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 www/firefox10/files/patch-nsprpub-pr-include-md-_freebsd.h (limited to 'www/firefox10/files/patch-nsprpub-pr-include-md-_freebsd.h') diff --git a/www/firefox10/files/patch-nsprpub-pr-include-md-_freebsd.h b/www/firefox10/files/patch-nsprpub-pr-include-md-_freebsd.h new file mode 100644 index 000000000000..7d4af1cea2b7 --- /dev/null +++ b/www/firefox10/files/patch-nsprpub-pr-include-md-_freebsd.h @@ -0,0 +1,13 @@ +--- nsprpub/pr/include/md/_freebsd.h Thu Jan 16 15:09:12 2003 ++++ nsprpub/pr/include/md/_freebsd.h Sat Dec 13 13:02:49 2003 +@@ -48,6 +48,10 @@ + #define _PR_SI_ARCHITECTURE "x86" + #elif defined(__alpha) + #define _PR_SI_ARCHITECTURE "alpha" ++#elif defined(__sparc__) ++#define _PR_SI_ARCHITECTURE "sparc" ++#elif defined(__amd64__) ++#define _PR_SI_ARCHITECTURE "amd64" + #else + #error "Unknown CPU architecture" + #endif -- cgit v1.2.3