File rebundle_protobuf.patch of Package organicmaps

Index: organicmaps-2025.03.02/3party/CMakeLists.txt
===================================================================
--- organicmaps-2025.03.02.orig/3party/CMakeLists.txt
+++ organicmaps-2025.03.02/3party/CMakeLists.txt
@@ -37,9 +37,6 @@ if (NOT WITH_SYSTEM_PROVIDED_3PARTY)
   add_subdirectory(gflags)
   target_compile_options(gflags_nothreads_static PRIVATE $<$<CXX_COMPILER_ID:GNU>:-Wno-subobject-linkage>)
 
-  # Add protobuf library.
-  add_subdirectory(protobuf)
-
   if (NOT PLATFORM_LINUX)
     add_subdirectory(freetype)
     add_subdirectory(icu)
@@ -51,6 +48,9 @@ if (NOT WITH_SYSTEM_PROVIDED_3PARTY)
   target_include_directories(utf8cpp INTERFACE "${OMIM_ROOT}/3party/utfcpp/source")
 endif()
 
+# Add protobuf library.
+add_subdirectory(protobuf)
+
 add_subdirectory(agg)
 add_subdirectory(bsdiff-courgette)
 add_subdirectory(minizip)
openSUSE Build Service is sponsored by