diff --git a/registry/modules/protobuf/27.3.arenastring/patches/arenastring.patch b/registry/modules/protobuf/27.3.arenastring/patches/arenastring.patch index e134463..254a757 100644 --- a/registry/modules/protobuf/27.3.arenastring/patches/arenastring.patch +++ b/registry/modules/protobuf/27.3.arenastring/patches/arenastring.patch @@ -34,19 +34,24 @@ index d5b60ea11..e8170bbb9 100644 + patch_strip = 1, +) diff --git a/build_defs/cpp_opts.bzl b/build_defs/cpp_opts.bzl -index 46b60252f..4fb1582d4 100644 +index 46b60252f..0fe2f0b2f 100644 --- a/build_defs/cpp_opts.bzl +++ b/build_defs/cpp_opts.bzl -@@ -21,6 +21,9 @@ COPTS = select({ +@@ -21,7 +21,13 @@ COPTS = select({ "-Woverloaded-virtual", "-Wno-sign-compare", "-Wno-nonnull", -+ # ARENASTRING PATCH: gcc-12 has more warning +- "-Werror", ++ # ARENASTRING PATCH: ignore more warning with -Werror ++ "-Wno-array-bounds", + "-Wno-dangling-else", + "-Wno-deprecated-declarations", - "-Werror", ++ "-Wno-maybe-uninitialized", ++ # ARENASTRING PATCH: more save to disable -Werror when using as a dependency ++ #"-Werror", ], }) + diff --git a/src/file_lists.cmake b/src/file_lists.cmake index 4488f3596..b44cbcb4d 100644 --- a/src/file_lists.cmake diff --git a/registry/modules/protobuf/27.3.arenastring/source.json b/registry/modules/protobuf/27.3.arenastring/source.json index 0426cb3..4554960 100644 --- a/registry/modules/protobuf/27.3.arenastring/source.json +++ b/registry/modules/protobuf/27.3.arenastring/source.json @@ -4,6 +4,6 @@ "integrity": "sha256-FTUVHvvHiT84sFeOg8rFhPKBmXTwZWmJdpiexxwa+Eo=", "patch_strip": 1, "patches": { - "arenastring.patch": "sha256-QVfzFLrTLobynRHv9gLqmOHIXG/uE7t5ECapQTAifMA=" + "arenastring.patch": "sha256-8dbDqnk1FKUqY/94bs9M6Mw/dvk6WiWUJiDuhbtRNY4=" } }