1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

With a minor little tweak this now builds on the Alpha.

This commit is contained in:
Steve Price 2000-02-20 20:53:58 +00:00
parent 6d4a92f250
commit 74d5f5aa90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26056
20 changed files with 140 additions and 40 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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