From a82ad53371e4d4181e2ba1fa3842a4f3d036a4ea Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Wed, 3 Jul 2024 21:24:52 +0200 Subject: [PATCH] package/memstat: update the patches to be applied with fuzz 0 Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum fuzz factor to 0") reduced the fuzz factor. Due to this change, memstat fails to build with output: Applying 0001-PATH_MAX.patch using patch: patching file memstat.c Hunk #1 FAILED at 19. 1 out of 1 hunk FAILED -- saving rejects to file memstat.c.rej This commit refreshes the package patch on the current package version. Signed-off-by: Dario Binacchi Signed-off-by: Romain Naour --- package/memstat/0001-PATH_MAX.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/memstat/0001-PATH_MAX.patch b/package/memstat/0001-PATH_MAX.patch index 0c3617a61b..14ca6a0078 100644 --- a/package/memstat/0001-PATH_MAX.patch +++ b/package/memstat/0001-PATH_MAX.patch @@ -1,6 +1,8 @@ Add missing #include for PATH_MAX Signed-off-by: Maarten ter Huurne +[Dario: make the patch to be applied with fuzz factor 0] +Signed-off-by: Dario Binacchi --- memstat-0.8.org/memstat.c 2009-06-08 14:38:05.000000000 +0200 +++ memstat-0.8/memstat.c 2014-09-12 03:55:43.096035374 +0200 @@ -11,4 +13,4 @@ Signed-off-by: Maarten ter Huurne +#include /* blacklist devices that just map physical memory */ - char *blacklist[] = { "/dev/mem", + char *blacklist[] = {