diff options
Diffstat (limited to 'math/liblbfgs/patches/patch-configure.in')
-rw-r--r-- | math/liblbfgs/patches/patch-configure.in | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/math/liblbfgs/patches/patch-configure.in b/math/liblbfgs/patches/patch-configure.in new file mode 100644 index 00000000000..e7997ec7ca0 --- /dev/null +++ b/math/liblbfgs/patches/patch-configure.in @@ -0,0 +1,35 @@ +$NetBSD: patch-configure.in,v 1.1 2014/11/02 23:09:31 cheusov Exp $ + +# fix for build failure seen on Linux/gcc-4.7 +--- ./configure.in.orig 2014-11-02 17:48:31.192060650 -0500 ++++ ./configure.in 2014-11-02 17:48:50.225607845 -0500 +@@ -42,14 +42,6 @@ + + + dnl ------------------------------------------------------------------ +-dnl Checks for header files. +-dnl ------------------------------------------------------------------ +-AC_HEADER_STDC +-AC_CHECK_HEADERS(xmmintrin.h emmintrin.h) +- +- +- +-dnl ------------------------------------------------------------------ + dnl Checks for debugging mode + dnl ------------------------------------------------------------------ + AC_ARG_ENABLE( +@@ -87,6 +79,14 @@ + ) + + dnl ------------------------------------------------------------------ ++dnl Checks for header files. ++dnl ------------------------------------------------------------------ ++AC_HEADER_STDC ++AC_CHECK_HEADERS(xmmintrin.h emmintrin.h) ++ ++ ++ ++dnl ------------------------------------------------------------------ + dnl Checks for library functions. + dnl ------------------------------------------------------------------ + AC_CHECK_LIB(m, fabs) |