From adcea8c3d7a9215494a5d327e5e984b32fd96c7a Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 20 Feb 2000 20:53:58 +0000 Subject: With a minor little tweak this now builds on the Alpha. --- databases/mysql54-server/files/patch-as | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 databases/mysql54-server/files/patch-as (limited to 'databases/mysql54-server/files') diff --git a/databases/mysql54-server/files/patch-as b/databases/mysql54-server/files/patch-as new file mode 100644 index 000000000000..4db26dbdd7c4 --- /dev/null +++ b/databases/mysql54-server/files/patch-as @@ -0,0 +1,14 @@ +--- 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 @@ + inline void reset_floating_point_exceptions() + { + /* Don't fall for overflow, underflow,divide-by-zero or loss of precision */ ++#if defined(__i386__) + fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL | ++#else ++ fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | ++#endif + FP_X_DZ | FP_X_IMP)); + } + #else -- cgit