mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
- Switch build system to cmake - Disable ebpf plugin (cannot be built at the moment) - Include the go plugin (uses the original separate package name) - Use upstream openrc init files CVE-2024-32019 does not apply to us since we never upgraded to the vulnerable versions.
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
Patch-Source: https://gitlab.archlinux.org/archlinux/packaging/packages/netdata/-/blob/548041264400be8349055d05c76a76391dba3e43/protobuf-23.patch
|
|
--
|
|
diff --git a/src/aclk/schema-wrappers/alarm_stream.cc b/src/aclk/schema-wrappers/alarm_stream.cc
|
|
index 29d80e3..7a51185 100644
|
|
--- a/src/aclk/schema-wrappers/alarm_stream.cc
|
|
+++ b/src/aclk/schema-wrappers/alarm_stream.cc
|
|
@@ -1,11 +1,11 @@
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
-#include "alarm_stream.h"
|
|
-
|
|
#include "proto/alarm/v1/stream.pb.h"
|
|
|
|
#include "libnetdata/libnetdata.h"
|
|
|
|
+#include "alarm_stream.h"
|
|
+
|
|
#include "schema_wrapper_utils.h"
|
|
|
|
using namespace alarms::v1;
|
|
diff --git a/src/aclk/schema-wrappers/schema_wrapper_utils.h b/src/aclk/schema-wrappers/schema_wrapper_utils.h
|
|
index 693a4ce..63bc11c 100644
|
|
--- a/src/aclk/schema-wrappers/schema_wrapper_utils.h
|
|
+++ b/src/aclk/schema-wrappers/schema_wrapper_utils.h
|
|
@@ -3,11 +3,12 @@
|
|
#ifndef SCHEMA_WRAPPER_UTILS_H
|
|
#define SCHEMA_WRAPPER_UTILS_H
|
|
|
|
+#include <google/protobuf/timestamp.pb.h>
|
|
+#include <google/protobuf/map.h>
|
|
+
|
|
#include "database/rrd.h"
|
|
|
|
#include <sys/time.h>
|
|
-#include <google/protobuf/timestamp.pb.h>
|
|
-#include <google/protobuf/map.h>
|
|
|
|
#if GOOGLE_PROTOBUF_VERSION < 3001000
|
|
#define PROTO_COMPAT_MSG_SIZE(msg) (size_t)msg.ByteSize()
|