[lis] Update to 1.3.31.

Susi Lehtola jussilehtola at fedoraproject.org
Mon Mar 4 12:05:17 UTC 2013


commit d21f9c678ab0bd285acad6ae2e48fd8961273f32
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Mon Mar 4 14:05:15 2013 +0200

    Update to 1.3.31.

 lis-1.3.31-amgc.patch |   14 ++++++++++++++
 lis.spec              |   10 ++++++++--
 sources               |    2 +-
 3 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/lis-1.3.31-amgc.patch b/lis-1.3.31-amgc.patch
new file mode 100644
index 0000000..dd5e22f
--- /dev/null
+++ b/lis-1.3.31-amgc.patch
@@ -0,0 +1,14 @@
+diff -up lis-1.3.31/src/fortran/amg/lis_s_solver_AMGCG.F90.orig lis-1.3.31/src/fortran/amg/lis_s_solver_AMGCG.F90
+--- lis-1.3.31/src/fortran/amg/lis_s_solver_AMGCG.F90.orig	2013-03-04 07:25:01.000000000 +0200
++++ lis-1.3.31/src/fortran/amg/lis_s_solver_AMGCG.F90	2013-03-04 13:59:30.278518557 +0200
+@@ -674,8 +674,8 @@ CONTAINS
+             &     HIERARCHICAL_DATA(i) % R % V,    &
+             &     HIERARCHICAL_DATA(i) % P % IN,   &
+             &     HIERARCHICAL_DATA(i) % P % CN,   &
+-            &     HIERARCHICAL_DATA(i) % P % V,    &
+-            &     HIERARCHICAL_DATA(i) % P,        &
++            &     HIERARCHICAL_DATA(i) % P % V)
++       deallocate(HIERARCHICAL_DATA(i) % P,        &
+             &     HIERARCHICAL_DATA(i) % R         )
+     END DO
+ 
diff --git a/lis.spec b/lis.spec
index 23e1337..edd6b56 100644
--- a/lis.spec
+++ b/lis.spec
@@ -1,11 +1,13 @@
 Name:		lis
-Version:	1.2.115
-Release:	2%{?dist}
+Version:	1.3.31
+Release:	1%{?dist}
 Summary:	A library for solving linear equations and eigenvalue problems
 Group:		Applications/Engineering
 License:	BSD
 URL:		http://www.ssisc.org/lis/index.en.html
 Source0:	http://infinity.cc.kyushu-u.ac.jp/lis/dl/lis-%{version}.tar.gz
+# Patch to get to compile with gfortran
+Patch0:		lis-1.3.31-amgc.patch
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildRequires:	gcc-gfortran
@@ -50,6 +52,7 @@ This package contains the developer documentation for lis.
 
 %prep
 %setup -q
+%patch0 -p1 -b .amgcg
 
 %build
 export CC=gcc
@@ -118,6 +121,9 @@ sh test.sh
 %{_mandir}/man3/lis*.3f.*
 
 %changelog
+* Mon Mar 04 2013 Susi Lehtola <jussilehtola at fedoraproject.org> - 1.3.31-1
+- Update to 1.3.31.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.115-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 53de2e5..48e165e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bf9f869502cd7220867096ef7d3656a2  lis-1.2.115.tar.gz
+a4b682c3cf121ba38ef8bbb50105c966  lis-1.3.31.tar.gz


More information about the scm-commits mailing list