summaryrefslogtreecommitdiff
path: root/academic/grace/patches/xmgrace-fftw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/grace/patches/xmgrace-fftw.patch')
-rw-r--r--academic/grace/patches/xmgrace-fftw.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/academic/grace/patches/xmgrace-fftw.patch b/academic/grace/patches/xmgrace-fftw.patch
new file mode 100644
index 0000000000..e4dac78592
--- /dev/null
+++ b/academic/grace/patches/xmgrace-fftw.patch
@@ -0,0 +1,33 @@
+diff -Naur grace-5.1.22.orig/configure grace-5.1.22/configure
+--- grace-5.1.22.orig/configure 2008-05-21 16:52:09.000000000 -0400
++++ grace-5.1.22/configure 2009-10-01 12:40:20.976239041 -0400
+@@ -15690,7 +15690,7 @@
+
+ if test "x$fftw_library" = "x"
+ then
+- fftw_library=-lfftw
++ fftw_library=-ldfftw
+ fi
+
+ { echo "$as_me:$LINENO: checking for FFTW library >= 2.1.3" >&5
+@@ -15722,7 +15722,7 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+-#include <fftw.h>
++#include <dfftw.h>
+ #include <string.h>
+ int main(void) {
+ char *vlib = (char *) fftw_version;
+diff -Naur grace-5.1.22.orig/src/fourier.c grace-5.1.22/src/fourier.c
+--- grace-5.1.22.orig/src/fourier.c 2004-07-03 16:47:45.000000000 -0400
++++ grace-5.1.22/src/fourier.c 2009-10-01 12:41:14.567703801 -0400
+@@ -230,7 +230,7 @@
+ #else
+ /* Start of new FFTW-based transforms by Marcus H. Mendenhall */
+
+-#include <fftw.h>
++#include <dfftw.h>
+ #include <string.h>
+
+ static char *wisdom_file=0;