diff options
author | dirk <dirk@FreeBSD.org> | 2000-02-22 04:48:28 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-02-22 04:48:28 +0800 |
commit | 1fd211dda69b0057d186430b775665c93b908635 (patch) | |
tree | 91702eddf4fb9da8985885c435b063368c6da315 /databases/mysql41-server/files | |
parent | 500ff202c7119c02f68abfd0304da5417d288185 (diff) | |
download | freebsd-ports-graphics-1fd211dda69b0057d186430b775665c93b908635.tar.gz freebsd-ports-graphics-1fd211dda69b0057d186430b775665c93b908635.tar.zst freebsd-ports-graphics-1fd211dda69b0057d186430b775665c93b908635.zip |
Fix build error!
Submitted by: Dirk-Willem van Gulik <dirkx@webweaving.org>
Diffstat (limited to 'databases/mysql41-server/files')
-rw-r--r-- | databases/mysql41-server/files/patch-as | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/databases/mysql41-server/files/patch-as b/databases/mysql41-server/files/patch-as index 4db26dbdd7c..903bc9950a2 100644 --- a/databases/mysql41-server/files/patch-as +++ b/databases/mysql41-server/files/patch-as @@ -1,14 +1,16 @@ ---- sql/mysqld.cc.orig Fri Feb 18 23:06:34 2000 -+++ sql/mysqld.cc Fri Feb 18 23:07:46 2000 -@@ -63,7 +63,11 @@ +--- sql/mysqld.cc.orig Sun Feb 13 02:40:18 2000 ++++ sql/mysqld.cc Mon Feb 21 21:24:51 2000 +@@ -63,8 +63,11 @@ inline void reset_floating_point_exceptions() { /* Don't fall for overflow, underflow,divide-by-zero or loss of precision */ +- fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL | +- FP_X_DZ | FP_X_IMP)); +#if defined(__i386__) - fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL | ++ fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL | FP_X_DZ | FP_X_IMP)); +#else -+ fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | ++ fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | FP_X_IMP)); +#endif - FP_X_DZ | FP_X_IMP)); } #else + #define reset_floating_point_exceptions() |