openbsd-ports/www/firefox36/patches/patch-content_xslt_public_txDouble_h
landry 17b63192b8 Resurrect www/firefox36 from the Attic, installing 3.6.16 in
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs
firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64.
Not yet linked to the build.
2011-03-26 10:58:36 +00:00

13 lines
503 B
Plaintext

$OpenBSD: patch-content_xslt_public_txDouble_h,v 1.3 2011/03/26 10:58:36 landry Exp $
--- content/xslt/public/txDouble.h.orig Fri Jan 25 09:02:04 2008
+++ content/xslt/public/txDouble.h Mon Jul 14 01:25:38 2008
@@ -63,7 +63,7 @@ static fp_except_t oldmask = fpsetmask(~allmask);
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#if !defined(__VFP_FP__)
+#if !defined(__VFP_FP__) && !defined(__OpenBSD__) /* Armel ABI */
#define FPU_IS_ARM_FPA
#endif
#endif