summaryrefslogtreecommitdiff
path: root/academic/grace/patches/xmgrace-fftw.patch
blob: e4dac78592914f72b26a458f1146b33a4a747fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;