summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-06-18 20:49:04 +0200
committerMichał Górny <mgorny@gentoo.org>2017-06-18 20:50:03 +0200
commit6cdb97e62d8b13c849b4ca0ab873071deca63688 (patch)
tree5eb89e422ee2cb7c20ff6d488255caadb8d4e789 /dev-cpp/clucene/files
parentdev-ada/xmlada: Add version 2017 (diff)
downloadgentoo-6cdb97e62d8b13c849b4ca0ab873071deca63688.tar.gz
gentoo-6cdb97e62d8b13c849b4ca0ab873071deca63688.tar.bz2
gentoo-6cdb97e62d8b13c849b4ca0ab873071deca63688.zip
dev-cpp/clucene: Allow any gcc version, #617870
Diffstat (limited to 'dev-cpp/clucene/files')
-rw-r--r--dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch b/dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch
index 54be5265d3e8..b0b9ac1a327b 100644
--- a/dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch
+++ b/dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch
@@ -3,6 +3,9 @@ From: Hodorgasm <nsane457@gmail.com>
Date: Thu, 12 May 2016 20:38:12 -0400
Subject: [PATCH] Support GCC-6
+Updated 2017-06-18 by mgorny to allow *any* gcc version so that
+we do not have to update the patch every second month.
+
---
src/shared/cmake/MacroCheckGccVisibility.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -16,7 +19,7 @@ index 2022aa3..020f913 100644
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 "[3456]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
++ string (REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" _gcc_version "${_gcc_version_info}")
if (NOT _gcc_version)
# clang reports: clang version 1.1 (trunk 95754)