Warning, /graphics/digikam/project/bundles/3rdparty/ext_qtwebkit/qtwebkit-fixdeps-linux.patch is written in an unsupported language. File is not indexed.

0001 diff --git a/Source/cmake/OptionsQt.cmake b/Source/cmake/OptionsQt.cmake
0002 index 003fdca41..f0db91f77 100644
0003 --- a/Source/cmake/OptionsQt.cmake
0004 +++ b/Source/cmake/OptionsQt.cmake
0005 @@ -501,7 +501,7 @@ if (MACOS_FORCE_SYSTEM_XML_LIBRARIES)
0006          set(LIBXSLT_LIBRARIES xslt)
0007      endif ()
0008  else ()
0009 -    find_package(LibXml2 2.8.0 REQUIRED)
0010 +    find_package(LibXml2 2.7.0 REQUIRED)
0011      if (ENABLE_XSLT)
0012          find_package(LibXslt 1.1.7 REQUIRED)
0013      endif ()
0014 diff --git a/Source/WTF/wtf/PlatformQt.cmake b/Source/WTF/wtf/PlatformQt.cmake
0015 index 684119455b3..0b9de24c895 100644
0016 --- a/Source/WTF/wtf/PlatformQt.cmake
0017 +++ b/Source/WTF/wtf/PlatformQt.cmake
0018 @@ -77,3 +77,14 @@ if (APPLE)
0019          ${COREFOUNDATION_LIBRARY}
0020      )
0021  endif ()
0022 +
0023 +if (UNIX)
0024 +    check_function_exists(clock_gettime CLOCK_GETTIME_EXISTS)
0025 +    if (NOT CLOCK_GETTIME_EXISTS)
0026 +        set(CMAKE_REQUIRED_LIBRARIES rt)
0027 +        check_function_exists(clock_gettime CLOCK_GETTIME_REQUIRES_LIBRT)
0028 +        if (CLOCK_GETTIME_REQUIRES_LIBRT)
0029 +            list(APPEND WTF_LIBRARIES rt)
0030 +        endif ()
0031 +    endif ()
0032 +endif ()