diff options
| -rw-r--r-- | meta-oe/recipes-extended/sysdig/sysdig/0001-Add-cstdint-for-uintXX_t-types.patch | 38 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/sysdig/sysdig/0001-Add-cstdint-for-uintXX_t-types.patch b/meta-oe/recipes-extended/sysdig/sysdig/0001-Add-cstdint-for-uintXX_t-types.patch new file mode 100644 index 0000000000..e564958dad --- /dev/null +++ b/meta-oe/recipes-extended/sysdig/sysdig/0001-Add-cstdint-for-uintXX_t-types.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | From 3d076ea588eb3c7f334133b4c31172a14beadf5b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 2 Feb 2023 20:18:27 -0800 | ||
| 4 | Subject: [PATCH] Add <cstdint> for uintXX_t types | ||
| 5 | |||
| 6 | gcc 13 moved some includes around and as a result <cstdint> is no | ||
| 7 | longer transitively included [1]. Explicitly include it | ||
| 8 | for uintXX_t. | ||
| 9 | |||
| 10 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes | ||
| 11 | |||
| 12 | Upstream-Status: Submitted [https://github.com/falcosecurity/libs/pull/862] | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | userspace/libsinsp/filter/parser.h | 1 + | ||
| 16 | userspace/libsinsp/filter_value.h | 1 + | ||
| 17 | 2 files changed, 2 insertions(+) | ||
| 18 | |||
| 19 | --- a/userspace/libsinsp/filter/parser.h | ||
| 20 | +++ b/userspace/libsinsp/filter/parser.h | ||
| 21 | @@ -18,6 +18,7 @@ limitations under the License. | ||
| 22 | #pragma once | ||
| 23 | |||
| 24 | #include "ast.h" | ||
| 25 | +#include <cstdint> | ||
| 26 | |||
| 27 | // | ||
| 28 | // Context-free Grammar for Sinsp Filters | ||
| 29 | --- a/userspace/libsinsp/filter_value.h | ||
| 30 | +++ b/userspace/libsinsp/filter_value.h | ||
| 31 | @@ -18,6 +18,7 @@ limitations under the License. | ||
| 32 | #pragma once | ||
| 33 | |||
| 34 | #include <string.h> | ||
| 35 | +#include <cstdint> | ||
| 36 | #include <utility> | ||
| 37 | |||
| 38 | // Used for CO_IN/CO_PMATCH filterchecks using PT_CHARBUFs to allow | ||
diff --git a/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb b/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb index 4181da732f..92897cd3fc 100644 --- a/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb +++ b/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb | |||
| @@ -24,6 +24,7 @@ RDEPENDS:${PN} = "bash" | |||
| 24 | 24 | ||
| 25 | SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \ | 25 | SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \ |
| 26 | git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \ | 26 | git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \ |
| 27 | file://0001-Add-cstdint-for-uintXX_t-types.patch;patchdir=./falcosecurity-libs \ | ||
| 27 | file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \ | 28 | file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \ |
| 28 | " | 29 | " |
| 29 | SRCREV_sysdig = "4fb6288275f567f63515df0ff0a6518043ecfa9b" | 30 | SRCREV_sysdig = "4fb6288275f567f63515df0ff0a6518043ecfa9b" |
