SPECS: fftw3.spec - gcc4 fix (HAVE_ALTIVEC_H is defined nowhere).

pluto pluto at pld-linux.org
Mon Feb 6 12:39:48 CET 2006


Author: pluto                        Date: Mon Feb  6 11:39:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gcc4 fix (HAVE_ALTIVEC_H is defined nowhere).

---- Files affected:
SPECS:
   fftw3.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/fftw3.spec
diff -u SPECS/fftw3.spec:1.22 SPECS/fftw3.spec:1.23
--- SPECS/fftw3.spec:1.22	Tue Jan 31 23:21:17 2006
+++ SPECS/fftw3.spec	Mon Feb  6 12:39:43 2006
@@ -11,7 +11,7 @@
 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
@@ -23,6 +23,7 @@
 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)
@@ -215,6 +216,7 @@
 %setup -q -n fftw-%{version}
 %patch0 -p1
 %patch1 -p1
+sed -i 's:#ifdef HAVE_ALTIVEC_H:#if 1:' simd/simd-altivec.h
 
 %build
 %{__libtoolize}
@@ -372,6 +374,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2006/02/06 11:39:43  pluto
+- gcc4 fix (HAVE_ALTIVEC_H is defined nowhere).
+
 Revision 1.22  2006/01/31 22:21:17  qboosh
 - updated to 3.1, updated link patch, removed obsolete gcc4 patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fftw3.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list