summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-09 11:56:42 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-09 11:56:42 +0100
commit08cd938b3b9365816248b471c0d316c7763a9e72 (patch)
tree23362c77a7da58b771381fedfef3c61453c65715 /sci-chemistry
parentmedia-libs/sg: Port to EAPI 7 (diff)
downloadgentoo-08cd938b3b9365816248b471c0d316c7763a9e72.tar.gz
gentoo-08cd938b3b9365816248b471c0d316c7763a9e72.tar.bz2
gentoo-08cd938b3b9365816248b471c0d316c7763a9e72.zip
sci-chemistry/openbabel: Fix broken GCC version detection
Closes: https://bugs.gentoo.org/696066 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch2
1 files changed, 1 insertions, 1 deletions
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
index 632ffa867613..a4aa3947f2ee 100644
--- a/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch
+++ b/sci-chemistry/openbabel/files/openbabel-2.4.1-gcc-8.patch
@@ -9,7 +9,7 @@ index dc38d1b..801207e 100644
if(CMAKE_COMPILER_IS_GNUCXX)
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info)
- string(REGEX MATCH "[34567]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
-+ string(REGEX MATCH "[345678]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
++ string(REGEX MATCH "[3456789]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the
# patch level, handle this here:
if (NOT _gcc_version)