summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-05-20 19:54:32 +0200
committerJohannes Huber <johu@gentoo.org>2016-05-20 19:56:41 +0200
commit62998f5c488eb5b68c6fa8769db4be17bef1d262 (patch)
treeb6aa1611a8565afc18304f4022a61a8889fd2888 /dev-cpp/clucene/files
parentwww-apps/piwigo: version bump to 2.8.1 (diff)
downloadgentoo-62998f5c488eb5b68c6fa8769db4be17bef1d262.tar.gz
gentoo-62998f5c488eb5b68c6fa8769db4be17bef1d262.tar.bz2
gentoo-62998f5c488eb5b68c6fa8769db4be17bef1d262.zip
dev-cpp/clucene: Fix build with gcc-6
Revision bump adds pending upstream patch which fixes build with gcc-6. Gentoo-bug: 582868 Thanks-to: Peter Levine <plevine457@gmail.com> Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-cpp/clucene/files')
-rw-r--r--dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch25
1 files changed, 25 insertions, 0 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
new file mode 100644
index 000000000000..54be5265d3e8
--- /dev/null
+++ b/dev-cpp/clucene/files/clucene-2.3.3.4-gcc6.patch
@@ -0,0 +1,25 @@
+From b5a1b3488a72abd250cbd5d4dfbeac3e3739c237 Mon Sep 17 00:00:00 2001
+From: Hodorgasm <nsane457@gmail.com>
+Date: Thu, 12 May 2016 20:38:12 -0400
+Subject: [PATCH] Support GCC-6
+
+---
+ src/shared/cmake/MacroCheckGccVisibility.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/shared/cmake/MacroCheckGccVisibility.cmake b/src/shared/cmake/MacroCheckGccVisibility.cmake
+index 2022aa3..020f913 100644
+--- a/src/shared/cmake/MacroCheckGccVisibility.cmake
++++ b/src/shared/cmake/MacroCheckGccVisibility.cmake
+@@ -15,7 +15,7 @@ macro(MACRO_CHECK_GCC_VISIBILITY GccVisibility)
+ # get the gcc version
+ 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}")
+ if (NOT _gcc_version)
+
+ # clang reports: clang version 1.1 (trunk 95754)
+--
+2.8.2
+