1 |
commit: 08cd938b3b9365816248b471c0d316c7763a9e72 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 9 10:56:42 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 10:56:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08cd938b |
7 |
|
8 |
sci-chemistry/openbabel: Fix broken GCC version detection |
9 |
|
10 |
Closes: https://bugs.gentoo.org/696066 |
11 |
Package-Manager: Portage-2.3.87, Repoman-2.3.20 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch b/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch |
18 |
index 632ffa86761..a4aa3947f2e 100644 |
19 |
--- a/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch |
20 |
+++ b/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch |
21 |
@@ -9,7 +9,7 @@ index dc38d1b..801207e 100644 |
22 |
if(CMAKE_COMPILER_IS_GNUCXX) |
23 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
24 |
- string(REGEX MATCH "[34567]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
25 |
-+ string(REGEX MATCH "[345678]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
26 |
++ string(REGEX MATCH "[3456789]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
27 |
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the |
28 |
# patch level, handle this here: |
29 |
if (NOT _gcc_version) |