1 |
commit: 26244911e77ec5ea22a46f1bfcf21eba0a5a93ab |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 08:00:04 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 08:00:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26244911 |
7 |
|
8 |
sci-chemistry/freeon: Fix compilation error |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=604138 |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
.../freeon/files/freeon-1.0.10-stop.patch | 36 ++++++++++++++++++++++ |
16 |
sci-chemistry/freeon/freeon-1.0.10.ebuild | 16 +++++++--- |
17 |
sci-chemistry/freeon/metadata.xml | 2 +- |
18 |
3 files changed, 49 insertions(+), 5 deletions(-) |
19 |
|
20 |
diff --git a/sci-chemistry/freeon/files/freeon-1.0.10-stop.patch b/sci-chemistry/freeon/files/freeon-1.0.10-stop.patch |
21 |
new file mode 100644 |
22 |
index 00000000..a20d520 |
23 |
--- /dev/null |
24 |
+++ b/sci-chemistry/freeon/files/freeon-1.0.10-stop.patch |
25 |
@@ -0,0 +1,36 @@ |
26 |
+From 882b51fb718c2eed98ef3e8f3be0c5b7320024e1 Mon Sep 17 00:00:00 2001 |
27 |
+From: Justin Lecher <jlec@g.o> |
28 |
+Date: Mon, 2 Jan 2017 07:56:11 +0000 |
29 |
+Subject: [PATCH] Add missing blank after STOP |
30 |
+ |
31 |
+The STOP statement requires preceding blank. Newer gcc |
32 |
+will fail with |
33 |
+ |
34 |
+ CASE DEFAULT; STOP'Err:WghtMtrx' |
35 |
+ 1 |
36 |
+Error: Blank required in STOP statement near (1) |
37 |
+ |
38 |
+See: |
39 |
+https://bugs.gentoo.org/show_bug.cgi?id=604138 |
40 |
+ |
41 |
+Signed-off-by: Justin Lecher <jlec@g.o> |
42 |
+--- |
43 |
+ FreeON/Optimizer.F90 | 2 +- |
44 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
45 |
+ |
46 |
+diff --git a/FreeON/Optimizer.F90 b/FreeON/Optimizer.F90 |
47 |
+index 0ef22269..0bbd9008 100644 |
48 |
+--- a/FreeON/Optimizer.F90 |
49 |
++++ b/FreeON/Optimizer.F90 |
50 |
+@@ -3055,7 +3055,7 @@ CONTAINS |
51 |
+ SELECT CASE(FromTo) |
52 |
+ CASE('CToWC');IFromTo=0 |
53 |
+ CASE('WCToC');IFromTo=1 |
54 |
+- CASE DEFAULT; STOP'Err:WghtMtrx' |
55 |
++ CASE DEFAULT; STOP 'Err:WghtMtrx' |
56 |
+ END SELECT |
57 |
+ DO AtB=1,NAtoms |
58 |
+ IF(IFromTo.EQ.0) THEN |
59 |
+-- |
60 |
+2.11.0 |
61 |
+ |
62 |
|
63 |
diff --git a/sci-chemistry/freeon/freeon-1.0.10.ebuild b/sci-chemistry/freeon/freeon-1.0.10.ebuild |
64 |
index f1a8d5c..e865bb4 100644 |
65 |
--- a/sci-chemistry/freeon/freeon-1.0.10.ebuild |
66 |
+++ b/sci-chemistry/freeon/freeon-1.0.10.ebuild |
67 |
@@ -1,14 +1,13 @@ |
68 |
-# Copyright 1999-2015 Gentoo Foundation |
69 |
+# Copyright 1999-2017 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
# $Id$ |
72 |
|
73 |
-EAPI=5 |
74 |
+EAPI=6 |
75 |
|
76 |
-AUTOTOOLS_AUTORECONF=1 |
77 |
FORTRAN_STANDARD=90 |
78 |
PYTHON_COMPAT=( python{2_7,3_4} ) |
79 |
|
80 |
-inherit autotools-utils fortran-2 python-any-r1 |
81 |
+inherit autotools fortran-2 python-any-r1 |
82 |
|
83 |
DESCRIPTION="An experimental suite of programs for linear scaling quantum chemistry" |
84 |
HOMEPAGE="http://www.freeon.org" |
85 |
@@ -25,3 +24,12 @@ RDEPEND=" |
86 |
virtual/lapack" |
87 |
DEPEND="${RDEPEND} |
88 |
${PYTHON_DEPS}" |
89 |
+ |
90 |
+PATCHES=( |
91 |
+ "${FILESDIR}"/${P}-stop.patch |
92 |
+) |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ default |
96 |
+ eautoreconf |
97 |
+} |
98 |
|
99 |
diff --git a/sci-chemistry/freeon/metadata.xml b/sci-chemistry/freeon/metadata.xml |
100 |
index 8abcc2a..8f4e98e 100644 |
101 |
--- a/sci-chemistry/freeon/metadata.xml |
102 |
+++ b/sci-chemistry/freeon/metadata.xml |
103 |
@@ -8,7 +8,7 @@ |
104 |
<email>nicolasbock@g.o</email> |
105 |
<name>Nicolas Bock</name> |
106 |
</maintainer> |
107 |
-<maintainer type="project"> |
108 |
+ <maintainer type="project"> |
109 |
<email>sci-chemistry@g.o</email> |
110 |
<name>Gentoo Chemistry Project</name> |
111 |
</maintainer> |