diff options
author | Peter Wemm <peter@FreeBSD.org> | 2003-12-13 21:35:43 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2003-12-13 21:35:43 +0000 |
commit | 7059589bd64b2a99cab6df938b191d4e9fce56bd (patch) | |
tree | 5f08e61f528456c64e85212ca62872ad7f7214a6 /www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c | |
parent | 123c710bd51f7fa9a386ae7a6a7271d556a02564 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=95748
Diffstat (limited to 'www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c')
-rw-r--r-- | www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c b/www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c new file mode 100644 index 000000000000..8c48ad1e08fb --- /dev/null +++ b/www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c @@ -0,0 +1,12 @@ +--- nsprpub/pr/src/io/prprf.c Wed Feb 26 15:53:42 2003 ++++ nsprpub/pr/src/io/prprf.c Thu Oct 16 22:50:40 2003 +@@ -52,5 +52,8 @@ + ** and requires array notation. + */ +-#if (defined(LINUX) && defined(__powerpc__)) || \ ++#if defined(__amd64__) ++#include <stdarg.h> ++#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar)) ++#elif (defined(LINUX) && defined(__powerpc__)) || \ + (defined(LINUX) && defined(__s390__)) || \ + (defined(LINUX) && defined(__s390x__)) || \ |