From 314e252c0c661e2afc8d725dcaacbd9760cb2676 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 2 Aug 2016 23:03:38 +0200 Subject: [PATCH] fftw: bump version. --- .../{fftw-3.3.4.recipe => fftw-3.3.5.recipe} | 5 ++-- sci-libs/fftw/patches/fftw-3.3.5.patchset | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) rename sci-libs/fftw/{fftw-3.3.4.recipe => fftw-3.3.5.recipe} (94%) create mode 100644 sci-libs/fftw/patches/fftw-3.3.5.patchset diff --git a/sci-libs/fftw/fftw-3.3.4.recipe b/sci-libs/fftw/fftw-3.3.5.recipe similarity index 94% rename from sci-libs/fftw/fftw-3.3.4.recipe rename to sci-libs/fftw/fftw-3.3.5.recipe index 85783a695..5ccfd101c 100644 --- a/sci-libs/fftw/fftw-3.3.4.recipe +++ b/sci-libs/fftw/fftw-3.3.5.recipe @@ -16,9 +16,10 @@ HOMEPAGE="http://www.fftw.org/" COPYRIGHT="2003, 2007-2011 Matteo Frigo 2003, 2007-2011 Massachusetts Institute of Technology" LICENSE="GNU GPL v2" -REVISION="6" +REVISION="1" SOURCE_URI="http://www.fftw.org/fftw-$portVersion.tar.gz" -CHECKSUM_SHA256="8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982" +CHECKSUM_SHA256="8ecfe1b04732ec3f5b7d279fdb8efcad536d555f9d1e8fabd027037d45ea8bcf" +PATCHES="fftw-$portVersion.patchset" ARCHITECTURES="x86 x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" diff --git a/sci-libs/fftw/patches/fftw-3.3.5.patchset b/sci-libs/fftw/patches/fftw-3.3.5.patchset new file mode 100644 index 000000000..9ee884ca1 --- /dev/null +++ b/sci-libs/fftw/patches/fftw-3.3.5.patchset @@ -0,0 +1,24 @@ +From 4ee5a540f1e7f19940217378031cd4a4360b435a Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Tue, 2 Aug 2016 22:25:47 +0200 +Subject: gcc2 patch + + +diff --git a/kernel/stride.c b/kernel/stride.c +index 689fdc8..27b631b 100644 +--- a/kernel/stride.c ++++ b/kernel/stride.c +@@ -26,8 +26,9 @@ const INT X(an_INT_guaranteed_to_be_zero) = 0; + stride X(mkstride)(INT n, INT s) + { + int i; ++ INT *p; + A(n >= 0); +- INT *p = (INT *) MALLOC((size_t)n * sizeof(INT), STRIDES); ++ p = (INT *) MALLOC((size_t)n * sizeof(INT), STRIDES); + + for (i = 0; i < n; ++i) + p[i] = s * i; +-- +2.2.2 +