Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 13:06:57 +1000
From:      Michael Ward <mikeward@optushome.com.au>
To:        dirk@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: mysql323-server-3.23.53
Message-ID:  <5.1.0.14.2.20021022125846.00a8c458@mail>

next in thread | raw e-mail | index | archive | help
Hello i just tried to install mysql-server-3.23.53 from ports and
got the following error (+ reject file)


did a make clean and got the same error... not sure where to go from here...

hope this is some use to you...

cheers
mike


===>  Extracting for mysql-server-3.23.53
 >> Checksum OK for mysql-3.23.53.tar.gz.
===>   mysql-server-3.23.53 depends on executable: libtool - found
===>  Patching for mysql-server-3.23.53
===>  Applying FreeBSD patches for mysql-server-3.23.53
1 out of 1 hunks failed--saving rejects to sql/mysqld.cc.rej
 >> Patch patch-as failed to apply cleanly.
 >> Patch(es) patch-ab patch-af patch-ag patch-an patch-ap patch-ar applied 
cleanly.
*** Error code 1

Stop in /usr/ports/databases/mysql323-server.



cat work/mysql-3.23.53/sql/mysqld.cc.rej

***************
*** 63,70 ****
   inline void reset_floating_point_exceptions()
   {
     /* Don't fall for overflow, underflow,divide-by-zero or loss of 
precision */
-   fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL |
-             FP_X_DZ | FP_X_IMP));
   }
   #else
   #define reset_floating_point_exceptions()
--- 63,73 ----
   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 | FP_X_DZ | 
FP_X_IMP));
+ #else
+   fpsetmask(~(FP_X_INV |             FP_X_OFL | FP_X_UFL | FP_X_DZ | 
FP_X_IMP));
+ #endif
   }
   #else
   #define reset_floating_point_exceptions()


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20021022125846.00a8c458>