Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-clucene
gcc-macro-ensure-version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc-macro-ensure-version.patch of Package mingw32-clucene
--- a/src/shared/cmake/MacroCheckGccVisibility.cmake 2020-05-18 21:22:47.199433483 +0200 +++ b/src/shared/cmake/MacroCheckGccVisibility.cmake 2020-05-18 21:23:05.004833463 +0200 @@ -15,7 +15,7 @@ # get the gcc version exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) - string (REGEX MATCH "[3-8]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") + string (REGEX MATCH "1?[0-9]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") if (NOT _gcc_version) # clang reports: clang version 1.1 (trunk 95754) @@ -26,7 +26,7 @@ # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the patch level, handle this here: if (NOT _gcc_version) - string (REGEX REPLACE ".*\\(GCC\\).* ([3-8]\\.[0-9]) .*" "\\1.0" _gcc_version "${_gcc_version_info}") + string (REGEX REPLACE ".*\\(GCC\\).* ([3-9]\\.[0-9]) .*" "\\1.0" _gcc_version "${_gcc_version_info}") endif (NOT _gcc_version) endif (NOT _gcc_version)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor