#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 dstrubbe@…): To update to 3.3.5 with the pfft patches, just add this to the changes above: {{{ Index: Portfile =================================================================== --- Portfile (revision 151414) +++ Portfile (working copy) @@ -56,6 +54,7 @@ } # Cut from scripts at https://www-user.tu- chemnitz.de/~potts/workgroup/pippig/software.php.en#fftwinstall, + # except that the last hunk of mpi/transpose-pairwise.c has been incorporated into 3.3.5 already. #Important: Within these scripts we apply the following patches that have been submitted to FFTW but are not yet included in FFTW-3.3.4: # We add two more global transposition algorithms to the planner. # We patch file mpi/transpose-pairwise.c in order to fix a double free bug. Index: files/patch-pfft.diff =================================================================== --- files/patch-pfft.diff (revision 151414) +++ files/patch-pfft.diff (working copy) @@ -342,13 +342,6 @@ } } } -@@ -350,6 +349,7 @@ nada: - X(plan_destroy_internal)(*cld3); - X(plan_destroy_internal)(*cld2rest); - X(plan_destroy_internal)(*cld2); -+ *cld2 = *cld2rest = *cld3 = NULL; - return 0; - } --- mpi/transpose-pairwise-transposed.c 1970-01-01 01:00:00.000000000 +0100 +++ mpi/transpose-pairwise-transposed.c 2015-09-05 06:00:07.280481042 +0200 }}} -- Ticket URL: <https://trac.macports.org/ticket/51953#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X