ports/math/libgmp4 (4.2.1) is known to have some bugs after the release: http://www.swox.com/gmp/#STATUS There are two bugs which are official fix and affect for FreeBSD, and not yet applied for FreeBSD ports. 1. [2006-11-30] With the C++ wrapper, ternary operations such as a=c+b*a where the desination variable is also used as a source, will compute garbage. 2. [2006-09-23] In mpz_set_d, arguments smaller than 1e-19 will trigger undefined behaviour, typically a crash. Note that this is a somewhat deegnerate use of mpz_set_d that should not normally happen, since any arguments < 1 will yield 0. Fix: Here is the patch. 1. applying two patches. 2. bump port revision.
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer
State Changed From-To: open->closed Committed, thanks!
ale 2007-02-07 07:00:22 UTC FreeBSD ports repository Modified files: math/libgmp4 Makefile Added files: math/libgmp4/files patch-gmpxx.h patch-mpz_set_d.c Log: Add two upstream patches. PR: ports/108855 Submitted by: maho Revision Changes Path 1.31 +2 -2 ports/math/libgmp4/Makefile 1.1 +513 -0 ports/math/libgmp4/files/patch-gmpxx.h (new) 1.1 +12 -0 ports/math/libgmp4/files/patch-mpz_set_d.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"