packages: mythplugins/mythmusic_fftw3.patch (NEW) - simplified incompatibil...

w.kier w.kier at pld-linux.org
Mon Jun 15 21:03:12 CEST 2009


Author: w.kier                       Date: Mon Jun 15 19:03:12 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- simplified incompatibile macro definition for fftw3 usage in mythmusic
  visualisations

---- Files affected:
packages/mythplugins:
   mythmusic_fftw3.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mythplugins/mythmusic_fftw3.patch
diff -u /dev/null packages/mythplugins/mythmusic_fftw3.patch:1.1
--- /dev/null	Mon Jun 15 21:03:12 2009
+++ packages/mythplugins/mythmusic_fftw3.patch	Mon Jun 15 21:03:07 2009
@@ -0,0 +1,19 @@
+--- mythplugins-o.22.orig/mythmusic/mythmusic/visualize.h	2009-04-12 13:38:46.000000000 +0200
++++ mythplugins-0.22/mythmusic/mythmusic/visualize.h	2009-06-15 20:46:07.480534125 +0200
+@@ -28,13 +28,13 @@
+ #define myth_fftw_float double /* need to use different plan function to change */
+ #define fftw_real myth_fftw_float
+ #define myth_fftw_complex std::complex<myth_fftw_float>
+-#if (myth_fftw_float == double)
++/*#if (myth_fftw_float == double)*/
+ #define myth_fftw_complex_cast fftw_complex
+-#elif (myth_fftw_float == float)
++/*#elif (myth_fftw_float == float)
+ #define myth_fftw_complex_cast fftwf_complex
+ #elif (myth_fftw_float == long double)
+ #define myth_fftw_complex_cast fftwl_complex
+-#endif
++#endif*/
+ #elif	FFTW2_SUPPORT
+ #include <rfftw.h>
+ #include <fftw.h>
================================================================


More information about the pld-cvs-commit mailing list