Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 723374
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +6 lines)
Line  Link Here
0
-- a/CMake/VTKGenerateExportHeader.cmake  2020-05-24 14:33:12.154603698 -0600
0
++ b/CMake/VTKGenerateExportHeader.cmake  2020-05-24 14:33:34.864603776 -0600
Lines 174-181 Link Here
174
    execute_process(COMMAND ${CMAKE_C_COMPILER} --version
174
    execute_process(COMMAND ${CMAKE_C_COMPILER} --version
175
      OUTPUT_VARIABLE _gcc_version_info
175
      OUTPUT_VARIABLE _gcc_version_info
176
      ERROR_VARIABLE _gcc_version_info)
176
      ERROR_VARIABLE _gcc_version_info)
177
    string(REGEX MATCH "[3-9]\\.[0-9]\\.[0-9]*"
177
    string(REGEX MATCH "[1-9][0-9]\\.[0-9]\\.[0-9]*"
178
      _gcc_version "${_gcc_version_info}")
178
      _gcc_version "${_gcc_version_info}")
179
    if(NOT _gcc_version)
180
      string(REGEX MATCH "[3-9]\\.[0-9]\\.[0-9]*"
181
        _gcc_version "${_gcc_version_info}")
182
    endif()
179
    # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the
183
    # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the
180
    # patch level, handle this here:
184
    # patch level, handle this here:
181
    if(NOT _gcc_version)
185
    if(NOT _gcc_version)

Return to bug 723374