1 |
commit: 6cdb97e62d8b13c849b4ca0ab873071deca63688 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 18 18:49:04 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 18 18:50:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cdb97e6 |
7 |
|
8 |
dev-cpp/clucene: Allow any gcc version, #617870 |
9 |
|
10 |
dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch | 5 ++++- |
11 |
1 file changed, 4 insertions(+), 1 deletion(-) |
12 |
|
13 |
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 |
14 |
index 54be5265d3e..b0b9ac1a327 100644 |
15 |
--- a/dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch |
16 |
+++ b/dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch |
17 |
@@ -3,6 +3,9 @@ From: Hodorgasm <nsane457@×××××.com> |
18 |
Date: Thu, 12 May 2016 20:38:12 -0400 |
19 |
Subject: [PATCH] Support GCC-6 |
20 |
|
21 |
+Updated 2017-06-18 by mgorny to allow *any* gcc version so that |
22 |
+we do not have to update the patch every second month. |
23 |
+ |
24 |
--- |
25 |
src/shared/cmake/MacroCheckGccVisibility.cmake | 2 +- |
26 |
1 file changed, 1 insertion(+), 1 deletion(-) |
27 |
@@ -16,7 +19,7 @@ index 2022aa3..020f913 100644 |
28 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
29 |
|
30 |
- string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
31 |
-+ string (REGEX MATCH "[3456]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
32 |
++ string (REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" _gcc_version "${_gcc_version_info}") |
33 |
if (NOT _gcc_version) |
34 |
|
35 |
# clang reports: clang version 1.1 (trunk 95754) |