aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox-devel/files/patch-nsprpub-pr-include-md-_freebsd.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-14 05:35:43 +0800
committerpeter <peter@FreeBSD.org>2003-12-14 05:35:43 +0800
commitbe02488d8a7b21883a26467eb22b3456a55c8bef (patch)
tree1a03d735358e121ab3d2151a8894ded70f6d156b /www/firefox-devel/files/patch-nsprpub-pr-include-md-_freebsd.h
parent351a2e902c45c4c07de9f3b6f93ba6b17ec762c0 (diff)
downloadfreebsd-ports-graphics-be02488d8a7b21883a26467eb22b3456a55c8bef.tar.gz
freebsd-ports-graphics-be02488d8a7b21883a26467eb22b3456a55c8bef.tar.zst
freebsd-ports-graphics-be02488d8a7b21883a26467eb22b3456a55c8bef.zip
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.
Diffstat (limited to 'www/firefox-devel/files/patch-nsprpub-pr-include-md-_freebsd.h')
-rw-r--r--www/firefox-devel/files/patch-nsprpub-pr-include-md-_freebsd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/firefox-devel/files/patch-nsprpub-pr-include-md-_freebsd.h b/www/firefox-devel/files/patch-nsprpub-pr-include-md-_freebsd.h
new file mode 100644
index 00000000000..7d4af1cea2b
--- /dev/null
+++ b/www/firefox-devel/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