summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-25 03:17:49 +0000
committerSam James <sam@gentoo.org>2021-02-25 03:17:49 +0000
commit6b4b4c06e34415fb725320ccf9ec904fb1283638 (patch)
tree1acae0c4d7158b48dea6e4f4d7a99e53e37391bf /sci-libs/fftw/files/fftw-2.1.5-cc.patch
parentsci-libs/fftw: add github remote-id (diff)
downloadgentoo-6b4b4c06e34415fb725320ccf9ec904fb1283638.tar.gz
gentoo-6b4b4c06e34415fb725320ccf9ec904fb1283638.tar.bz2
gentoo-6b4b4c06e34415fb725320ccf9ec904fb1283638.zip
Revert "sci-libs/fftw: cleanup old"
This reverts commit ee56d7da7ed08caf5546958342eceebc4d9de5ff. Slot :2.1 needed by media-gfx/videorbits. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/fftw/files/fftw-2.1.5-cc.patch')
-rw-r--r--sci-libs/fftw/files/fftw-2.1.5-cc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-libs/fftw/files/fftw-2.1.5-cc.patch b/sci-libs/fftw/files/fftw-2.1.5-cc.patch
new file mode 100644
index 000000000000..aa5c6db038c8
--- /dev/null
+++ b/sci-libs/fftw/files/fftw-2.1.5-cc.patch
@@ -0,0 +1,19 @@
+--- a/configure.in
++++ b/configure.in
+@@ -25,6 +25,8 @@
+ AC_ARG_WITH(gcc, [ --with-gcc use gcc instead of the native compiler cc], ok=$withval, ok=no)
+ if test "$ok" = "yes"; then
+ CC=gcc
++else
++ CC=$withval
+ fi
+
+ AC_ARG_ENABLE(float, [ --enable-float compile fftw for single precision], enable_float=$enableval, enable_float=no)
+@@ -96,6 +96,7 @@
+ AM_PROG_LIBTOOL
+ AC_CHECK_PROG(PERL, perl, perl, echo perl)
+ AC_SUBST(PERL)
++AC_SUBST(CC)
+
+ dnl -----------------------------------------------------------------------
+