[BACK]Return to patch-xo CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / firefox24 / patches

File: [cvs.NetBSD.org] / pkgsrc / www / firefox24 / patches / Attic / patch-xo (download)

Revision 1.1, Sun Nov 3 04:52:00 2013 UTC (9 years, 3 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4

Import firefox24-24.1.0 as www/firefox24.

Mozilla Firefox is a free, open-source and cross-platform web browser
for Windows, Linux, MacOS X and many other operating systems.

It is fast and easy to use, and offers many advantages over other web
browsers, such as tabbed browsing and the ability to block pop-up
windows.

Firefox also offers excellent bookmark and history management, and it
can be extended by developers using industry standards such as XML,
CSS, JavaScript, C++, etc. Many extensions are available.

This package tracks 24 extended support release branch.

$NetBSD: patch-xo,v 1.1 2013/11/03 04:52:00 ryoon Exp $

--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s.orig	2013-01-04 23:44:47.000000000 +0000
+++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s
@@ -14,6 +14,47 @@
 #include <sys/asm.h>
 #endif
 
+#ifdef __NetBSD__
+# include <machine/regdef.h>
+# include <machine/asm.h>
+# ifndef fp
+#  define      fp      s8
+# endif
+# ifndef PTRLOG
+#  if SZREG == 4
+#   define     PTRLOG  2
+#  else
+#   define     PTRLOG  3
+#  endif
+# endif
+# ifndef SETUP_GP
+#  if defined(__mips_o32)
+#   define     SETUP_GP        \
+               .set push;      \
+               .set noreorder; \
+               .cpload t9;     \
+               .set pop
+#   define     SAVE_GP(x)      \
+               .cprestore x
+#  else
+#   define     SETUP_GP
+#   define     SAVE_GP(x)
+#  endif
+# endif
+# ifndef ALSZ
+#  if defined(__mips_n32) || defined(__mips_n64)
+#   define     ALSZ    15
+#   define     ALMASK  ~15
+#  else
+#   define     ALSZ    7
+#   define     ALMASK  ~7
+#  endif
+# endif
+#else
+# include <sys/regdef.h>
+# include <sys/asm.h>
+#endif
+
 # NARGSAVE is the argument space in the callers frame, including extra
 # 'shadowed' space for the argument registers. The minimum of 4
 # argument slots is sometimes predefined in the header files.