From f3cf54e1f6e21ebae6d8e4dca7c4d1d56dcc09c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Mon, 6 Feb 2006 11:39:43 +0000 Subject: [PATCH] - gcc4 fix (HAVE_ALTIVEC_H is defined nowhere). Changed files: fftw3.spec -> 1.23 --- fftw3.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fftw3.spec b/fftw3.spec index 87b5dca..a66ad59 100644 --- a/fftw3.spec +++ b/fftw3.spec @@ -10,7 +10,7 @@ Summary(pl): Biblioteka z funkcjami szybkiej transformaty Fouriera Summary(pt_BR): biblioteca fast fourier transform Name: fftw3 Version: 3.1 -Release: 1 +Release: 2 License: GPL Group: Libraries Source0: ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz @@ -22,6 +22,7 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-g77 BuildRequires: libtool +BuildRequires: sed >= 4.0 BuildRequires: texinfo Requires: %{name}-common = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -214,6 +215,7 @@ Pliki programistyczne wsp %setup -q -n fftw-%{version} %patch0 -p1 %patch1 -p1 +sed -i 's:#ifdef HAVE_ALTIVEC_H:#if 1:' simd/simd-altivec.h %build %{__libtoolize} -- 2.44.0