summarylogtreecommitdiffstats
path: root/040-openvino-protobuf23-fix.patch
blob: 8b2251d5f6806ec583ce7c96aa9bb10e4d967c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- a/src/frontends/onnx/frontend/src/frontend.cpp
+++ b/src/frontends/onnx/frontend/src/frontend.cpp
@@ -11,7 +11,7 @@
 #ifdef OV_PROTOBUF_ABSL_IS_USED
 #    include <absl/log/globals.h>
 #else
-#    include <google/protobuf/stubs/logging.h>
+//#    include <google/protobuf/stubs/logging.h>
 #endif
 
 #include <fstream>
@@ -52,7 +52,7 @@ ONNX_FRONTEND_C_API void* get_front_end_data() {
 #    ifdef OV_PROTOBUF_ABSL_IS_USED
     absl::SetGlobalVLogLevel(0);
 #    else
-    google::protobuf::SetLogHandler(nullptr);
+    //google::protobuf::SetLogHandler(nullptr);
 #    endif
 #endif
     return res;
--- a/src/frontends/paddle/src/frontend.cpp
+++ b/src/frontends/paddle/src/frontend.cpp
@@ -13,7 +13,7 @@
 #ifdef OV_PROTOBUF_ABSL_IS_USED
 #    include <absl/log/globals.h>
 #else
-#    include <google/protobuf/stubs/logging.h>
+//#    include <google/protobuf/stubs/logging.h>
 #endif
 
 #include <fstream>
@@ -599,7 +599,7 @@ PADDLE_C_API void* get_front_end_data() {
 #    ifdef OV_PROTOBUF_ABSL_IS_USED
     absl::SetGlobalVLogLevel(0);
 #    else
-    google::protobuf::SetLogHandler(nullptr);
+    //google::protobuf::SetLogHandler(nullptr);
 #    endif
 #endif
     return res;