aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql40-server/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-02-21 04:53:58 +0800
committersteve <steve@FreeBSD.org>2000-02-21 04:53:58 +0800
commitadcea8c3d7a9215494a5d327e5e984b32fd96c7a (patch)
tree4cb7ccd2e13ae628ebe0b499f0a224e2eee0f975 /databases/mysql40-server/files
parent3840f8681fb430df786cd162c1d9ae94d2d361f1 (diff)
downloadfreebsd-ports-gnome-adcea8c3d7a9215494a5d327e5e984b32fd96c7a.tar.gz
freebsd-ports-gnome-adcea8c3d7a9215494a5d327e5e984b32fd96c7a.tar.zst
freebsd-ports-gnome-adcea8c3d7a9215494a5d327e5e984b32fd96c7a.zip
With a minor little tweak this now builds on the Alpha.
Diffstat (limited to 'databases/mysql40-server/files')
-rw-r--r--databases/mysql40-server/files/patch-as14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/mysql40-server/files/patch-as b/databases/mysql40-server/files/patch-as
new file mode 100644
index 000000000000..4db26dbdd7c4
--- /dev/null
+++ b/databases/mysql40-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