diff options
author | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:53:58 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:53:58 +0000 |
commit | 74d5f5aa902fbc324ad84ddfe71040cae16d3699 (patch) | |
tree | 27f6c4760a92f05b4f98c97648ae040e1419a9d2 /databases/mysql40-server | |
parent | Add support for FreeBSD/Alpha. (diff) |
With a minor little tweak this now builds on the Alpha.
Notes
Notes:
svn path=/head/; revision=26056
Diffstat (limited to 'databases/mysql40-server')
-rw-r--r-- | databases/mysql40-server/Makefile | 4 | ||||
-rw-r--r-- | databases/mysql40-server/files/patch-as | 14 |
2 files changed, 14 insertions, 4 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index a6f663fb84a3..d2f1f968ddc7 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-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/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 |