summaryrefslogtreecommitdiff
path: root/databases/mysql54-server
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-02-21 20:48:28 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-02-21 20:48:28 +0000
commit56977a179237dc2a61d85c5ee7c01289f423f7f8 (patch)
tree02913c44fea3d50c8e8a705ee54c471ce9513c42 /databases/mysql54-server
parentupdate ports/java/shujit from version 0.4.0 to version 0.4.2 and fix (diff)
Fix build error!
Submitted by: Dirk-Willem van Gulik <dirkx@webweaving.org>
Notes
Notes: svn path=/head/; revision=26106
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r--databases/mysql54-server/files/patch-as14
1 files changed, 8 insertions, 6 deletions
diff --git a/databases/mysql54-server/files/patch-as b/databases/mysql54-server/files/patch-as
index 4db26dbdd7c4..903bc9950a28 100644
--- a/databases/mysql54-server/files/patch-as
+++ b/databases/mysql54-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()