etime_ fix for second.f

epel9
athimm 16 years ago
parent 33056683db
commit 75672b8d67

@ -0,0 +1,11 @@
diff -up ARPACK/UTIL/second.f.etime ARPACK/UTIL/second.f
--- ARPACK/UTIL/second.f.etime 2008-09-24 22:40:53.000000000 +0200
+++ ARPACK/UTIL/second.f 2008-09-24 22:42:03.000000000 +0200
@@ -21,7 +21,6 @@
* ..
* .. External Functions ..
REAL ETIME
- EXTERNAL ETIME
* ..
* .. Executable Statements ..
*

@ -3,7 +3,7 @@
Summary: Fortran77 subroutines for solving large scale eigenvalue problems Summary: Fortran77 subroutines for solving large scale eigenvalue problems
Name: arpack Name: arpack
Version: 2.1 Version: 2.1
Release: 9%{?dist} Release: 10%{?dist}
License: RiceBSD License: RiceBSD
Group: Development/Libraries Group: Development/Libraries
URL: http://www.caam.rice.edu/software/ARPACK/ URL: http://www.caam.rice.edu/software/ARPACK/
@ -16,6 +16,7 @@ Source4: clarification-note-by-authors.txt
Patch0: arpack-2.1-redhat.patch Patch0: arpack-2.1-redhat.patch
# see http://www.ann.jussieu.fr/pipermail/freefempp/2006/000213.html # see http://www.ann.jussieu.fr/pipermail/freefempp/2006/000213.html
Patch1: arpack-second-bug.patch Patch1: arpack-second-bug.patch
Patch2: arpack-etime.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{?with_gfortran:gcc-gfortran}%{!?with_gfortran:/usr/bin/f77} BuildRequires: %{?with_gfortran:gcc-gfortran}%{!?with_gfortran:/usr/bin/f77}
# The correct dependency would be the following, but it doesn't exist on RHEL4/3 # The correct dependency would be the following, but it doesn't exist on RHEL4/3
@ -58,6 +59,7 @@ library and so links used for building arpack based applications.
%setup -q -b 1 -n ARPACK %setup -q -b 1 -n ARPACK
%patch0 -p1 -b .rh %patch0 -p1 -b .rh
%patch1 -p1 -b .sb %patch1 -p1 -b .sb
%patch2 -p1 -b .etime
mkdir static shared mkdir static shared
%build %build
@ -109,6 +111,9 @@ rm -rf %{buildroot}
%{_libdir}/libarpack.a %{_libdir}/libarpack.a
%changelog %changelog
* Wed Sep 24 2008 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 2.1-10
- fix libarpack.so: undefined reference to `etime_' with recent gfortran
* Mon Aug 25 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.1-9 * Mon Aug 25 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.1-9
- Patch0 and %%patch make recent rpm silenty fail. - Patch0 and %%patch make recent rpm silenty fail.

Loading…
Cancel
Save