[patch] firefox35 on powerpc build issue.
Andreas Tobler
andreast-list at fgznet.ch
Sun Aug 16 20:11:20 UTC 2009
Hi,
this patch addresses another build issue on powerpc. The patch I
submitted today is also needed on this version.
Note, this patch is only needed for firefox 3.5 and up.
The binary gets built but it fails to run, it seems to be the same as on
my amd64 machine, bad system call'. Unfortunately the ppc gdb is not
so friendly as the amd64 one. So I'll try to dig in on amd64.
TIA,
Andreas
-------------- next part --------------
--- content/xslt/public/txDouble.h.orig 2009-08-16 21:46:27.000000000 +0200
+++ content/xslt/public/txDouble.h 2009-08-16 21:49:53.000000000 +0200
@@ -43,7 +43,7 @@
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
#ifdef __FreeBSD__
#include <ieeefp.h>
-#ifdef __alpha__
+#if defined (__alpha__) || defined (__powerpc__)
static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
#else
static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
More information about the freebsd-gecko
mailing list