diff options
Diffstat (limited to 'meta-networking/recipes-support/ntopng/files/0001-Follow-rrd-post-1.8-change.patch')
| -rw-r--r-- | meta-networking/recipes-support/ntopng/files/0001-Follow-rrd-post-1.8-change.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-networking/recipes-support/ntopng/files/0001-Follow-rrd-post-1.8-change.patch b/meta-networking/recipes-support/ntopng/files/0001-Follow-rrd-post-1.8-change.patch deleted file mode 100644 index eefd4e1ab2..0000000000 --- a/meta-networking/recipes-support/ntopng/files/0001-Follow-rrd-post-1.8-change.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From a3bd9efe78f9c381f19b99c8ceb7f52b4c2a52b8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
| 3 | Date: Wed, 5 Jun 2024 09:40:17 +0300 | ||
| 4 | Subject: [PATCH] Follow rrd post-1.8 change | ||
| 5 | |||
| 6 | Git version of rrdtool has changed rrd_tune argument from char pointer | ||
| 7 | to const char pointer. GCC 14 is more strict regarding the pointer | ||
| 8 | constantness checks and errors out in such a case. Update rrd_tune | ||
| 9 | invokation. | ||
| 10 | |||
| 11 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
| 12 | Upstream-Status: Pending [CLA is not signed on our side] | ||
| 13 | --- | ||
| 14 | src/LuaEngineNtop.cpp | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/src/LuaEngineNtop.cpp b/src/LuaEngineNtop.cpp | ||
| 18 | index bd2de79e3021..dd00f1608f78 100644 | ||
| 19 | --- a/src/LuaEngineNtop.cpp | ||
| 20 | +++ b/src/LuaEngineNtop.cpp | ||
| 21 | @@ -5427,7 +5427,7 @@ static int ntop_rrd_tune(lua_State* vm) { | ||
| 22 | filename = argv[1]; | ||
| 23 | |||
| 24 | reset_rrd_state(); | ||
| 25 | - status = rrd_tune(argc, (char**)argv); | ||
| 26 | + status = rrd_tune(argc, (const char**)argv); | ||
| 27 | |||
| 28 | if(status != 0) { | ||
| 29 | char *err = rrd_get_error(); | ||
| 30 | -- | ||
| 31 | 2.39.2 | ||
| 32 | |||
