File kdelibs-4.14.60-fix-winver.patch of Package mingw32-kdelibs4

--- kdelibs-4.14.60/cmake/modules/FindKDE4Internal.cmake.orig	2023-01-12 21:12:57.413284801 +0100
+++ kdelibs-4.14.60/cmake/modules/FindKDE4Internal.cmake	2023-01-12 21:14:56.470178105 +0100
@@ -1022,8 +1022,8 @@
        CACHE STATIC "MSVC IDE Run path" FORCE)
    endif(MSVC_IDE)
 
-   # we don't support anything below w2k and all winapi calls are unicodes
-   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -D_WIN32_IE=0x0501 -DUNICODE" )
+   # we don't support anything below win vista and all winapi calls are unicodes
+   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WIN32_WINNT=0x0600 -DWINVER=0x0600 -D_WIN32_IE=0x0600 -DUNICODE" )
 endif (WIN32)
 
 
openSUSE Build Service is sponsored by