From 75672b8d6708c1934819f51f227332603bf89200 Mon Sep 17 00:00:00 2001 From: athimm Date: Sep 25 2008 20:39:40 +0000 Subject: etime_ fix for second.f --- diff --git a/arpack-etime.patch b/arpack-etime.patch new file mode 100644 index 0000000..5a6e986 --- /dev/null +++ b/arpack-etime.patch @@ -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 .. + * diff --git a/arpack.spec b/arpack.spec index 2c2a55d..46a0471 100644 --- a/arpack.spec +++ b/arpack.spec @@ -3,7 +3,7 @@ Summary: Fortran77 subroutines for solving large scale eigenvalue problems Name: arpack Version: 2.1 -Release: 9%{?dist} +Release: 10%{?dist} License: RiceBSD Group: Development/Libraries URL: http://www.caam.rice.edu/software/ARPACK/ @@ -16,6 +16,7 @@ Source4: clarification-note-by-authors.txt Patch0: arpack-2.1-redhat.patch # see http://www.ann.jussieu.fr/pipermail/freefempp/2006/000213.html Patch1: arpack-second-bug.patch +Patch2: arpack-etime.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 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 @@ -58,6 +59,7 @@ library and so links used for building arpack based applications. %setup -q -b 1 -n ARPACK %patch0 -p1 -b .rh %patch1 -p1 -b .sb +%patch2 -p1 -b .etime mkdir static shared %build @@ -109,6 +111,9 @@ rm -rf %{buildroot} %{_libdir}/libarpack.a %changelog +* Wed Sep 24 2008 Dominik 'Rathann' Mierzejewski 2.1-10 +- fix libarpack.so: undefined reference to `etime_' with recent gfortran + * Mon Aug 25 2008 Axel Thimm - 2.1-9 - Patch0 and %%patch make recent rpm silenty fail.