[MacPorts] #51953: fftw-3: update to 3.3.5

MacPorts noreply at macports.org
Tue Aug 2 15:46:55 PDT 2016


#51953: fftw-3: update to 3.3.5
---------------------+--------------------
  Reporter:  sean@…  |      Owner:  sean@…
      Type:  update  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  fftw-3  |
---------------------+--------------------

Comment (by sean@…):

 Sure,

 {{{
 diff --git a/dports/math/fftw-3/Portfile b/dports/math/fftw-3/Portfile
 --- a/dports/math/fftw-3/Portfile
 +++ b/dports/math/fftw-3/Portfile
 @@ -7,8 +7,7 @@
  PortGroup       mpi 1.0

  name            fftw-3
 -version         3.3.4
 -revision        1
 +version         3.3.5
  categories      math
  license         GPL-2+
  platforms       darwin
 @@ -40,15 +39,13 @@
      improvements relative to 2.x, but is not backwardly \
      compatible.

 -checksums \
 -    rmd160  463b5120d42ec2a3bc1385689176c5e0296d0d4a \
 -    sha256
 8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982
 +checksums           rmd160  d5800f3d56b7b499265633b52a0b9850b17c148e \
 +                    sha256
 8ecfe1b04732ec3f5b7d279fdb8efcad536d555f9d1e8fabd027037d45ea8bcf

  # Don't link with "-flat_namespace -undefined suppress" on Yosemite and
  # later (#45707).
  patchfiles \
 -    yosemite-libtool.patch \
 -    leopard-no-memalign.patch
 +    yosemite-libtool.patch

  variant pfft_patches description {Apply patches recommended for use as
 dependency of pfft port} {
      if {![mpi_variant_isset]} {
 diff --git a/dports/math/fftw-3/files/leopard-no-memalign.patch
 b/dports/math/fftw-3/files/leopard-no-memalign.patch
 deleted file mode 100644
 --- a/dports/math/fftw-3/files/leopard-no-memalign.patch
 +++ /dev/null
 @@ -1,11 +0,0 @@
 ---- kernel/ifftw.h.orig        2015-01-08 16:12:31.000000000 -0800
 -+++ kernel/ifftw.h     2015-01-08 16:14:18.000000000 -0800
 -@@ -120,7 +120,7 @@ typedef struct scanner_s scanner;
 -
 /*-----------------------------------------------------------------------*/
 - /* alloca: */
 - #if HAVE_SIMD
 --#  ifdef HAVE_AVX
 -+#  if defined(HAVE_AVX) && defined(HAVE_POSIX_MEMALIGN)
 - #    define MIN_ALIGNMENT 32  /* best alignment for AVX, conservative
 for
 -                              * everything else */
 - #  else
 }}}

 Mostly, just updated the checksums and removed the unneeded `leopard-no-
 memalign.patch`.

-- 
Ticket URL: <https://trac.macports.org/ticket/51953#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list