diff -Nru fftw3-3.3.3/debian/changelog fftw3-3.3.3/debian/changelog --- fftw3-3.3.3/debian/changelog 2013-10-27 13:32:57.000000000 +0000 +++ fftw3-3.3.3/debian/changelog 2014-01-07 18:04:54.000000000 +0000 @@ -1,3 +1,9 @@ +fftw3 (3.3.3-7arm641) unstable; urgency=low + + * Correct neon arm64 support in configurey + + -- Tue, 07 Jan 2014 18:03:45 +0000 + fftw3 (3.3.3-7) unstable; urgency=low * restrict architectures of long dependency of libfftw3-3 (Closes: #710890) diff -Nru fftw3-3.3.3/debian/patches/arm64-neon-config.patch fftw3-3.3.3/debian/patches/arm64-neon-config.patch --- fftw3-3.3.3/debian/patches/arm64-neon-config.patch 1970-01-01 00:00:00.000000000 +0000 +++ fftw3-3.3.3/debian/patches/arm64-neon-config.patch 2014-01-07 18:43:56.000000000 +0000 @@ -0,0 +1,27 @@ +Index: fftw3-3.3.3/configure.ac +=================================================================== +--- fftw3-3.3.3.orig/configure.ac 2012-11-25 12:33:44.000000000 +0000 ++++ fftw3-3.3.3/configure.ac 2014-01-07 18:25:34.890000000 +0000 +@@ -273,7 +273,8 @@ + [AC_MSG_ERROR([Need a version of gcc with -maltivec])])])]) + fi + +- if test "$have_neon" = "yes" -a "x$NEON_CFLAGS" = x; then ++ # armhf (no flag needed on arm64) ++ if test "$host_cpu" = "arm" -a "$have_neon" = "yes" -a "x$NEON_CFLAGS" = x; then + AX_CHECK_COMPILER_FLAGS(-mfpu=neon, [NEON_CFLAGS="-mfpu=neon"], + [AC_MSG_ERROR([Need a version of gcc with -mfpu=neon])]) + fi +Index: fftw3-3.3.3/simd-support/simd-neon.h +=================================================================== +--- fftw3-3.3.3.orig/simd-support/simd-neon.h 2012-11-25 12:33:44.000000000 +0000 ++++ fftw3-3.3.3/simd-support/simd-neon.h 2014-01-07 18:43:48.500000000 +0000 +@@ -29,7 +29,7 @@ + #define SIMD_VSTRIDE_OKA(x) ((x) == 2) + #define SIMD_STRIDE_OKPAIR SIMD_STRIDE_OK + +-#if defined(__GNUC__) && !defined(__ARM_NEON__) ++#if defined(__GNUC__) && !defined(__ARM_NEON__) && !defined (__aarch64__) + #error "compiling simd-neon.h requires -mfpu=neon or equivalent" + #endif + diff -Nru fftw3-3.3.3/debian/patches/series fftw3-3.3.3/debian/patches/series --- fftw3-3.3.3/debian/patches/series 2013-10-27 13:32:57.000000000 +0000 +++ fftw3-3.3.3/debian/patches/series 2014-01-07 17:38:41.000000000 +0000 @@ -5,3 +5,4 @@ texinfo5-compat.patch wisdom-manpage.patch fix-fftw-wisdom-to-conf.patch +arm64-neon-config.patch