Files
buildroot/package/zeek/0004-Add-cstdint-to-WeirdState.h-to-fix-compilation-error-on-gcc13.patch
Bernd Kuhls eb8ee9f7fd package/zeek: add various fixes for gcc >= 13.x
Fixes:
https://autobuild.buildroot.net/results/906/9061a358d5b37d7674fe5498686cecefda6cf51e/

The build error

  ripemd_160.hpp:52:23: error: 'uint8_t' was not declared in this scope

which is fixed by patch 0002, afaics, first occurred on 2024-04-04:
https://autobuild.buildroot.net/results/7ff/7ff3d6a09bd4911ff78e01c14f2bfb7da3d43d60/
so a backport should be considered.

After fixing the build error other build errors occurred which are fixed by
backporting various upstream commits.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-02-02 17:50:14 +01:00

25 lines
659 B
Diff

From 122b8d6052ab987237dd8eb3feeed598230881f7 Mon Sep 17 00:00:00 2001
From: Tim Wojtulewicz <tim@corelight.com>
Date: Mon, 10 Apr 2023 16:07:18 -0700
Subject: [PATCH] Add cstdint to WeirdState.h to fix compilation error on gcc13
Upstream: https://github.com/zeek/zeek/commit/122b8d6052ab987237dd8eb3feeed598230881f7
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/WeirdState.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/WeirdState.h b/src/WeirdState.h
index 5b8e90fba6a..b34a6da8e82 100644
--- a/src/WeirdState.h
+++ b/src/WeirdState.h
@@ -2,6 +2,7 @@
#pragma once
+#include <cstdint>
#include <string>
#include <unordered_map>