[packages/fftw] Rel 8
arekm
arekm at pld-linux.org
Thu May 21 15:52:05 CEST 2026
commit 9533b720d756aaae808d39e8ef153db7688e521c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 21 15:51:48 2026 +0200
Rel 8
fftw-acinclude-cflags.patch | 11 +++++++++++
fftw.spec | 10 +++++++---
2 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/fftw.spec b/fftw.spec
index 41d3983..0a0ac2a 100644
--- a/fftw.spec
+++ b/fftw.spec
@@ -7,7 +7,7 @@ Summary(pl.UTF-8): Biblioteka z funkcjami szybkiej transformaty Fouriera
Summary(pt_BR.UTF-8): Biblioteca fast Fourier transform
Name: fftw
Version: 2.1.5
-Release: 7
+Release: 8
License: GPL
Group: Libraries
Source0: ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
@@ -15,6 +15,7 @@ Source0: ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
Patch0: %{name}-info.patch
Patch1: %{name}-link.patch
Patch2: doctex.patch
+Patch3: %{name}-acinclude-cflags.patch
URL: http://www.fftw.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -125,6 +126,7 @@ Statyczne biblioteki FFTW pojedynczej precyzji.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
# don't use pregenerated file
rm -f fftw/config.h
@@ -135,10 +137,12 @@ rm -f fftw/config.h
%{__autoconf}
%{__automake}
+%define configuredir ..
+
%if %{with single}
install -d build-single
cd build-single
-../%configure \
+%configure \
%ifarch %{ix86}
--enable-i386-hacks \
%endif
@@ -154,7 +158,7 @@ cd ..
install -d build-double
cd build-double
-../%configure \
+%configure \
%ifarch %{ix86}
--enable-i386-hacks \
%endif
diff --git a/fftw-acinclude-cflags.patch b/fftw-acinclude-cflags.patch
new file mode 100644
index 0000000..8e1cc50
--- /dev/null
+++ b/fftw-acinclude-cflags.patch
@@ -0,0 +1,11 @@
+--- fftw-2.1.5/acinclude.m4.orig 2003-03-17 00:43:18.000000000 +0100
++++ fftw-2.1.5/acinclude.m4 2026-05-21 02:00:00.000000000 +0200
+@@ -98,7 +98,7 @@
+
+ # Try to determine "good" native compiler flags if none specified on command
+ # line
+-if test "$ac_test_CFLAGS" != "set"; then
++if test -z "$ac_test_CFLAGS"; then
+ CFLAGS=""
+ case "${host_cpu}-${host_os}" in
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fftw.git/commitdiff/9533b720d756aaae808d39e8ef153db7688e521c
More information about the pld-cvs-commit
mailing list