eigen2 uses aligned malloc routine (ei_aligned_malloc), which currently relies on posix_memalign. The latter is not available on 6.x, so dependent ports may fail to build (example is upcoming science/avogadro, ports/134710). FreeBSD malloc, however, is guaranteed to return 16-byte aligned pointers, so it may safely br used instead of posix_memalign, on 6.x as well. The patch mekes EIGEN_MALLOC_ALREADY_ALIGNED defined on FreeBSD, so malloc is used. Added file(s): - files/patch-Eigen-src-Core-util-Memory.h Port maintainer (kde@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77
Responsible Changed From-To: freebsd-ports-bugs->kde Over to maintainer (via the GNATS Auto Assign Tool)
makc 2009-05-22 19:54:09 UTC FreeBSD ports repository Modified files: math/eigen2 Makefile distinfo pkg-plist Added files: math/eigen2/files patch-Eigen__src__Core__util__Memory.h Log: 1) Update to 2.0.2 2) Fix dependent ports on 6.x by using malloc instead of posix_memalign PR: ports/134863 (2) Submitted by: amdmi3 Revision Changes Path 1.8 +1 -2 ports/math/eigen2/Makefile 1.5 +3 -3 ports/math/eigen2/distinfo 1.1 +11 -0 ports/math/eigen2/files/patch-Eigen__src__Core__util__Memory.h (new) 1.5 +0 -3 ports/math/eigen2/pkg-plist _______________________________________________ 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"
State Changed From-To: open->closed Committed. Thanks!