File jsoncpp-1.9.6-build-fixes.patch of Package mingw64-jsoncpp

--- jsoncpp-1.9.6.orig/jsoncppConfig.cmake.meson.in	2024-09-10 05:18:29.000000000 +0200
+++ jsoncpp-1.9.6/jsoncppConfig.cmake.meson.in	2025-07-01 11:11:18.644720544 +0200
@@ -1,5 +1,16 @@
 @PACKAGE_INIT@
 
+macro(check_required_components _NAME)
+  foreach(comp ${${_NAME}_FIND_COMPONENTS})
+    if(NOT ${_NAME}_${comp}_FOUND)
+      if(${_NAME}_FIND_REQUIRED_${comp})
+        set(${_NAME}_FOUND FALSE)
+      endif()
+    endif()
+  endforeach()
+endmacro()
+
+
 @MESON_SHARED_TARGET@
 @MESON_STATIC_TARGET@
 
openSUSE Build Service is sponsored by