summaryrefslogtreecommitdiff
path: root/dev-util/ignition-cmake/files/protobuf.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-15 01:16:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-15 01:16:32 +0000
commit7387c23ff485f2416512185bf64584028335b993 (patch)
tree77f6578297f64937d732133db350b968dfe538e3 /dev-util/ignition-cmake/files/protobuf.patch
parentd8a50857c27d3253561374390ac9ed8c1b65d9bc (diff)
gentoo auto-resync : 15:01:2024 - 01:16:32
Diffstat (limited to 'dev-util/ignition-cmake/files/protobuf.patch')
-rw-r--r--dev-util/ignition-cmake/files/protobuf.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/dev-util/ignition-cmake/files/protobuf.patch b/dev-util/ignition-cmake/files/protobuf.patch
deleted file mode 100644
index 1bb2fe6480bb..000000000000
--- a/dev-util/ignition-cmake/files/protobuf.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Index: ignition-cmake-2.17.0/cmake/FindIgnProtobuf.cmake
-===================================================================
---- ignition-cmake-2.17.0.orig/cmake/FindIgnProtobuf.cmake
-+++ ignition-cmake-2.17.0/cmake/FindIgnProtobuf.cmake
-@@ -26,12 +26,12 @@
- include(IgnPkgConfig)
- ign_pkg_config_entry(IgnProtobuf "protobuf >= ${IgnProtobuf_FIND_VERSION}")
-
--find_package(Protobuf ${IgnProtobuf_FIND_VERSION} QUIET CONFIG)
-+find_package(protobuf ${IgnProtobuf_FIND_VERSION} QUIET CONFIG)
-
--if(NOT ${Protobuf_FOUND})
-+if(NOT ${protobuf_FOUND})
- # If a config-file was not found, then fall back on the system-installed
- # find-module that comes with CMake.
-- find_package(Protobuf ${IgnProtobuf_FIND_VERSION})
-+ find_package(protobuf ${IgnProtobuf_FIND_VERSION})
- endif()
-
- set(IgnProtobuf_missing_components "")
-@@ -49,21 +49,21 @@ foreach(component ${IgnProtobuf_FIND_COM
-
- if((${component} STREQUAL "libprotobuf") OR (${component} STREQUAL "all"))
- if((NOT PROTOBUF_LIBRARY) AND (NOT TARGET protobuf::libprotobuf))
-- set(Protobuf_FOUND false)
-+ set(protobuf_FOUND false)
- ign_string_append(IgnProtobuf_missing_components "libprotobuf" DELIM " ")
- endif()
- endif()
-
- if((${component} STREQUAL "libprotoc") OR (${component} STREQUAL "all"))
- if((NOT PROTOBUF_PROTOC_LIBRARY) AND (NOT TARGET protobuf::libprotoc))
-- set(Protobuf_FOUND false)
-+ set(protobuf_FOUND false)
- ign_string_append(IgnProtobuf_missing_components "libprotoc" DELIM " ")
- endif()
- endif()
-
- if((${component} STREQUAL "protoc") OR (${component} STREQUAL "all"))
- if((NOT PROTOBUF_PROTOC_EXECUTABLE) AND (NOT TARGET protobuf::protoc))
-- set(Protobuf_FOUND false)
-+ set(protobuf_FOUND false)
- ign_string_append(IgnProtobuf_missing_components "protoc" DELIM " ")
- endif()
- endif()
-@@ -74,7 +74,7 @@ if(IgnProtobuf_missing_components AND NO
- message(STATUS "Missing required protobuf components: ${IgnProtobuf_missing_components}")
- endif()
-
--if(${Protobuf_FOUND})
-+if(${protobuf_FOUND})
- # If we have found Protobuf, then set the IgnProtobuf_FOUND flag to true so
- # that ign_find_package(~) knows that we were successful.
- set(IgnProtobuf_FOUND true)