mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
sysdig: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,38 @@
|
|||||||
|
From 3d076ea588eb3c7f334133b4c31172a14beadf5b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Thu, 2 Feb 2023 20:18:27 -0800
|
||||||
|
Subject: [PATCH] Add <cstdint> for uintXX_t types
|
||||||
|
|
||||||
|
gcc 13 moved some includes around and as a result <cstdint> is no
|
||||||
|
longer transitively included [1]. Explicitly include it
|
||||||
|
for uintXX_t.
|
||||||
|
|
||||||
|
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/falcosecurity/libs/pull/862]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
userspace/libsinsp/filter/parser.h | 1 +
|
||||||
|
userspace/libsinsp/filter_value.h | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
--- a/userspace/libsinsp/filter/parser.h
|
||||||
|
+++ b/userspace/libsinsp/filter/parser.h
|
||||||
|
@@ -18,6 +18,7 @@ limitations under the License.
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "ast.h"
|
||||||
|
+#include <cstdint>
|
||||||
|
|
||||||
|
//
|
||||||
|
// Context-free Grammar for Sinsp Filters
|
||||||
|
--- a/userspace/libsinsp/filter_value.h
|
||||||
|
+++ b/userspace/libsinsp/filter_value.h
|
||||||
|
@@ -18,6 +18,7 @@ limitations under the License.
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
|
// Used for CO_IN/CO_PMATCH filterchecks using PT_CHARBUFs to allow
|
||||||
@@ -24,6 +24,7 @@ RDEPENDS:${PN} = "bash"
|
|||||||
|
|
||||||
SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \
|
SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \
|
||||||
git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \
|
git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \
|
||||||
|
file://0001-Add-cstdint-for-uintXX_t-types.patch;patchdir=./falcosecurity-libs \
|
||||||
file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \
|
file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \
|
||||||
"
|
"
|
||||||
SRCREV_sysdig = "4fb6288275f567f63515df0ff0a6518043ecfa9b"
|
SRCREV_sysdig = "4fb6288275f567f63515df0ff0a6518043ecfa9b"
|
||||||
|
|||||||
Reference in New Issue
Block a user