freebsd-ports/www/libxul/files/patch-content-xslt-public-txDouble.h
Beat Gaetzi ab0a516e66 - Update to 1.9.2.8
PR:		ports/149044
Expr-run by:	pav@
Thanks to:	Andreas Tobler <andreast-list AT fgznet.ch>, decke@
2010-08-08 08:56:06 +00:00

11 lines
508 B
C

--- 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(__amd64__) && !defined(__i386__)
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;