mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-07 03:05:07 +00:00
(#21592) protobuf: bump patch versions
This commit is contained in:
@@ -5,21 +5,18 @@ sources:
|
||||
"3.21.9":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.21.9.tar.gz"
|
||||
sha256: "1add10f9bd92775b91f326da259f243881e904dd509367d5031d4c782ba82810"
|
||||
"3.21.4":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/v3.21.4.tar.gz"
|
||||
sha256: "85d42d4485f36f8cec3e475a3b9e841d7d78523cd775de3a86dba77081f4ca25"
|
||||
"3.20.3":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/v3.20.3.tar.gz"
|
||||
sha256: "9c0fd39c7a08dff543c643f0f4baf081988129a411b977a07c46221793605638"
|
||||
"3.20.0":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/v3.20.0.tar.gz"
|
||||
sha256: "b07772d38ab07e55eca4d50f4b53da2d998bb221575c60a4f81100242d4b4889"
|
||||
"3.19.6":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/v3.19.6.tar.gz"
|
||||
sha256: "9a301cf94a8ddcb380b901e7aac852780b826595075577bb967004050c835056"
|
||||
"3.19.4":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/v3.19.4.tar.gz"
|
||||
sha256: "3bd7828aa5af4b13b99c191e8b1e884ebfa9ad371b0ce264605d347f135d2568"
|
||||
"3.18.1":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/v3.18.1.tar.gz"
|
||||
sha256: "9111bf0b542b631165fadbd80aa60e7fb25b25311c532139ed2089d76ddf6dd7"
|
||||
"3.18.3":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/v3.18.3.tar.gz"
|
||||
sha256: "663b3a6d56605e6ab7888d32a1525c34f34639b25b8996337821591e60c37041"
|
||||
"3.17.1":
|
||||
url: "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.17.1.tar.gz"
|
||||
sha256: "036d66d6eec216160dd898cfb162e9d82c1904627642667cc32b104d407bb411"
|
||||
@@ -34,8 +31,8 @@ patches:
|
||||
patch_description: "Handle case where macOS SDK macros may conflict with protobuf message types"
|
||||
patch_type: "bugfix"
|
||||
patch_source: "https://github.com/protocolbuffers/protobuf/pull/10103"
|
||||
"3.21.4":
|
||||
- patch_file: "patches/protobuf-3.21.4-upstream-macos-macros.patch"
|
||||
"3.20.3":
|
||||
- patch_file: "patches/protobuf-3.20.0-upstream-macos-macros.patch"
|
||||
patch_description: "Handle case where macOS SDK macros may conflict with protobuf message types"
|
||||
patch_type: "bugfix"
|
||||
patch_source: "https://github.com/protocolbuffers/protobuf/pull/10103"
|
||||
@@ -53,16 +50,7 @@ patches:
|
||||
patch_description: "Handle case where macOS SDK macros may conflict with protobuf message types"
|
||||
patch_type: "bugfix"
|
||||
patch_source: "https://github.com/protocolbuffers/protobuf/pull/10103"
|
||||
"3.19.4":
|
||||
- patch_file: "patches/upstream-pr-9437-msvc-runtime.patch"
|
||||
patch_description: "Properly handle CMAKE_MSVC_RUNTIME_LIBRARY when using CMake >= 3.15"
|
||||
patch_type: "portability"
|
||||
patch_source: "https://github.com/protocolbuffers/protobuf/pull/9437"
|
||||
- patch_file: "patches/protobuf-3.19.4-upstream-macos-macros.patch"
|
||||
patch_description: "Handle case where macOS SDK macros may conflict with protobuf message types"
|
||||
patch_type: "bugfix"
|
||||
patch_source: "https://github.com/protocolbuffers/protobuf/pull/10103"
|
||||
"3.18.1":
|
||||
"3.18.3":
|
||||
- patch_file: "patches/protobuf-3.18.1-upstream-macos-macros.patch"
|
||||
patch_description: "Handle case where macOS SDK macros may conflict with protobuf message types"
|
||||
patch_type: "bugfix"
|
||||
|
@@ -1,46 +0,0 @@
|
||||
diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc
|
||||
index 37632cf..561fd0f 100644
|
||||
--- a/src/google/protobuf/port_def.inc
|
||||
+++ b/src/google/protobuf/port_def.inc
|
||||
@@ -763,6 +763,22 @@
|
||||
#undef timezone
|
||||
#endif // _MSC_VER
|
||||
|
||||
+#ifdef __APPLE__
|
||||
+// Inconvenient macro names from usr/include/math.h in some macOS SDKs.
|
||||
+#pragma push_macro("DOMAIN")
|
||||
+#undef DOMAIN
|
||||
+// Inconvenient macro names from /usr/include/mach/boolean.h in some macOS SDKs.
|
||||
+#pragma push_macro("TRUE")
|
||||
+#undef TRUE
|
||||
+#pragma push_macro("FALSE")
|
||||
+#undef FALSE
|
||||
+// Inconvenient macro names from usr/include/sys/syslimits.h in some macOS SDKs.
|
||||
+#pragma push_macro("UID_MAX")
|
||||
+#undef UID_MAX
|
||||
+#pragma push_macro("GID_MAX")
|
||||
+#undef GID_MAX
|
||||
+#endif // __APPLE__
|
||||
+
|
||||
#if defined(__clang__) || PROTOBUF_GNUC_MIN(3, 0) || defined(_MSC_VER)
|
||||
// Don't let Objective-C Macros interfere with proto identifiers with the same
|
||||
// name.
|
||||
diff --git a/src/google/protobuf/port_undef.inc b/src/google/protobuf/port_undef.inc
|
||||
index 579eb41..7a179f9 100644
|
||||
--- a/src/google/protobuf/port_undef.inc
|
||||
+++ b/src/google/protobuf/port_undef.inc
|
||||
@@ -129,6 +129,14 @@
|
||||
#pragma pop_macro("timezone")
|
||||
#endif
|
||||
|
||||
+#ifdef __APPLE__
|
||||
+#pragma pop_macro("DOMAIN")
|
||||
+#pragma pop_macro("TRUE")
|
||||
+#pragma pop_macro("FALSE")
|
||||
+#pragma pop_macro("UID_MAX")
|
||||
+#pragma pop_macro("GID_MAX")
|
||||
+#endif // __APPLE__
|
||||
+
|
||||
#if defined(__clang__) || defined(__GNUC__) || defined(_MSC_VER)
|
||||
#pragma pop_macro("DEBUG")
|
||||
#endif // defined(__clang__) || defined(__GNUC__) || defined(_MSC_VER)
|
@@ -1,25 +0,0 @@
|
||||
diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc
|
||||
index b7af780..d50ac87 100644
|
||||
--- a/src/google/protobuf/port_def.inc
|
||||
+++ b/src/google/protobuf/port_def.inc
|
||||
@@ -870,6 +870,8 @@
|
||||
// Inconvenient macro names from usr/include/sys/syslimits.h in some macOS SDKs.
|
||||
#pragma push_macro("UID_MAX")
|
||||
#undef UID_MAX
|
||||
+#pragma push_macro("GID_MAX")
|
||||
+#undef GID_MAX
|
||||
#endif // __APPLE__
|
||||
|
||||
#if defined(__clang__) || PROTOBUF_GNUC_MIN(3, 0) || defined(_MSC_VER)
|
||||
diff --git a/src/google/protobuf/port_undef.inc b/src/google/protobuf/port_undef.inc
|
||||
index e880fa5..f8968d9 100644
|
||||
--- a/src/google/protobuf/port_undef.inc
|
||||
+++ b/src/google/protobuf/port_undef.inc
|
||||
@@ -144,6 +144,7 @@
|
||||
#pragma pop_macro("TRUE")
|
||||
#pragma pop_macro("FALSE")
|
||||
#pragma pop_macro("UID_MAX")
|
||||
+#pragma pop_macro("GID_MAX")
|
||||
#endif // __APPLE__
|
||||
|
||||
#if defined(__clang__) || defined(__GNUC__) || defined(_MSC_VER)
|
@@ -3,15 +3,13 @@ versions:
|
||||
folder: all
|
||||
"3.21.9":
|
||||
folder: all
|
||||
"3.21.4":
|
||||
"3.20.3":
|
||||
folder: all
|
||||
"3.20.0":
|
||||
folder: all
|
||||
"3.19.6":
|
||||
folder: all
|
||||
"3.19.4":
|
||||
folder: all
|
||||
"3.18.1":
|
||||
"3.18.3":
|
||||
folder: all
|
||||
"3.17.1":
|
||||
folder: all
|
||||
|
Reference in New Issue
Block a user