Simple update after naddy@'s GCC report.

- Tested with base clang, gcc8 and without installed /usr/bin/gcc.
- No shared lib changes (check_sym)

>From changelog (http://www.fftw.org/release-notes.html):

Fixed AVX, AVX2 for gcc-8.

"By default, FFTW 3.3.7 was broken with gcc-8. AVX and AVX2 code assumed
that the compiler honors the distinction between +0 and -0, but gcc-8
-ffast-math does not. The default CFLAGS included -ffast-math . This
release ensures that FFTW works with gcc-8 -ffast-math , and removes
-ffast-math from the default CFLAGS for good measure."

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/fftw3/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile    4 Nov 2017 10:29:35 -0000       1.33
+++ Makefile    17 Apr 2019 05:21:12 -0000
@@ -3,7 +3,7 @@
 COMMENT-main=  C routines for computing the Discrete Fourier Transform
 COMMENT-common=        common files for the fftw3 packages
 
-V=             3.3.7
+V=             3.3.8
 DISTNAME=      fftw-${V}
 PKGNAME=       fftw3-${V}
 FULLPKGNAME-main=      fftw3-${V}
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/fftw3/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo    4 Nov 2017 10:29:35 -0000       1.10
+++ distinfo    17 Apr 2019 05:21:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (fftw-3.3.7.tar.gz) = O2Cbf+ulIw6PbdjSRd2++sMkxaauQYaUdnDZrCzSVXM=
-SIZE (fftw-3.3.7.tar.gz) = 4105807
+SHA256 (fftw-3.3.8.tar.gz) = YRMmL26Sxb1HTyh1+hsBBUxK1QQPaw2nwDyYgh2a4wM=
+SIZE (fftw-3.3.8.tar.gz) = 4110137
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/math/fftw3/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST-main
--- pkg/PLIST-main      23 Mar 2016 21:14:58 -0000      1.3
+++ pkg/PLIST-main      17 Apr 2019 05:21:12 -0000
@@ -1,3 +1,7 @@
 @comment $OpenBSD: PLIST-main,v 1.3 2016/03/23 21:14:58 naddy Exp $
 %%double%%
+lib/cmake/
+lib/cmake/fftw3/
+lib/cmake/fftw3/FFTW3Config.cmake
+lib/cmake/fftw3/FFTW3ConfigVersion.cmake
 %%float%%

Reply via email to