Warning, /graphics/krita/3rdparty/ext_fftw3/patch_mingw.patch is written in an unsupported language. File is not indexed.

0001 diff --git a/kernel/kalloc.c b/kernel/kalloc.c
0002 --- a/kernel/kalloc.c
0003 +++ b/kernel/kalloc.c
0004 @@ -125,6 +125,11 @@ void *X(kernel_malloc)(size_t n)
0005  #    undef real_free
0006  #    define real_free MPFree
0007  
0008 +#  elif defined(__MINGW32__) || defined(__MINGW64__)
0009 +     p = (void *) __mingw_aligned_malloc(n, MIN_ALIGNMENT);
0010 +#    undef real_free
0011 +#    define real_free __mingw_aligned_free
0012 +
0013  #  else
0014       /* Add your machine here and send a patch to fftw@fftw.org 
0015          or (e.g. for Windows) configure --with-our-malloc */