summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-09 11:56:45 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-09 11:56:45 +0100
commita52d2f5b6f39eb7cb7ab5e833981d5e872fc79e1 (patch)
treeb01f579634fb15ce3619aa5386e0b9ae6cbda2cd /sci-chemistry
parentsci-chemistry/openbabel: Fix broken GCC version detection (diff)
downloadgentoo-a52d2f5b6f39eb7cb7ab5e833981d5e872fc79e1.tar.gz
gentoo-a52d2f5b6f39eb7cb7ab5e833981d5e872fc79e1.tar.bz2
gentoo-a52d2f5b6f39eb7cb7ab5e833981d5e872fc79e1.zip
sci-chemistry/openbabel-python: Fix broken GCC version detection
Closes: https://bugs.gentoo.org/664506 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-python/files/openbabel-python-2.3.2-gcc-6_and_7-backport.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-chemistry/openbabel-python/files/openbabel-python-2.3.2-gcc-6_and_7-backport.patch b/sci-chemistry/openbabel-python/files/openbabel-python-2.3.2-gcc-6_and_7-backport.patch
index e23dc6020ee5..1624262e6982 100644
--- a/sci-chemistry/openbabel-python/files/openbabel-python-2.3.2-gcc-6_and_7-backport.patch
+++ b/sci-chemistry/openbabel-python/files/openbabel-python-2.3.2-gcc-6_and_7-backport.patch
@@ -7,7 +7,7 @@ index 0ee545cf..7f4b944e 100755
if(CMAKE_COMPILER_IS_GNUCXX)
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info)
- string(REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
-+ string(REGEX MATCH "[34567]\\.[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)