aboutsummaryrefslogtreecommitdiffstats
path: root/databases/percona55-server
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/percona55-server
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/percona55-server')
-rw-r--r--databases/percona55-server/Makefile4
-rw-r--r--databases/percona55-server/files/patch-as14
2 files changed, 14 insertions, 4 deletions
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index a6f663fb84a3..d2f1f968ddc7 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -16,10 +16,6 @@ MASTER_SITES= http://www.fh-wolfenbuettel.de/ftp/pub/database/mysql/Downloads/My
MAINTAINER= dirk@FreeBSD.org
-.if ${MACHINE_ARCH} == "alpha"
-BROKEN= doesn\'t build on the alpha yet
-.endif
-
Y2K= http://www.tcx.se/Manual_chapter/manual_Introduction.html#Year_2000_compliance
DB_DIR?= /var/db/mysql
diff --git a/databases/percona55-server/files/patch-as b/databases/percona55-server/files/patch-as
new file mode 100644
index 000000000000..4db26dbdd7c4
--- /dev/null
+++ b/databases/percona55-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