Skip to contentSkip to conversation

package/memstat: update the patches to be applied with fuzz 0

PATCH Applied Dario Binacchi 2 participants 2 messages Jul 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/memstat/0001-PATH_MAX.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/memstat/0001-PATH_MAX.patch +3 -1
index 0c3617a61b52..14ca6a0078e2 100644
@@ -1,6 +1,8 @@
 Add missing #include for PATH_MAX
 
 Signed-off-by: Maarten ter Huurne <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 
 --- 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 <[email protected]>
 +#include <limits.h>
  
  /* blacklist devices that just map physical memory */
- char *blacklist[] = { "/dev/mem",
+ char *blacklist[] = {
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Dario,

Le 03/07/2024 à 21:24, Dario Binacchi a écrit :

Quoted 5 lines

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:

Quoted 8 lines

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.

Applied to master, thanks.

Best regards,
Romain

Quoted 18 lines
---
 package/memstat/0001-PATH_MAX.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/memstat/0001-PATH_MAX.patch +2 -0
index 0c3617a61b52..14ca6a0078e2 100644
@@ -1,6 +1,8 @@
 Add missing #include for PATH_MAX
 
 Signed-off-by: Maarten ter Huurne <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 
 --- 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

package/memstat/0001-PATH_MAX.patch Signed-off-by: Maarten ter Huurne <[email protected]> · line 16

Quoted 5 lines
package/memstat/0001-PATH_MAX.patch +1 -1
@@ -11,4 +13,4 @@ Signed-off-by: Maarten ter Huurne <[email protected]>
 +#include <limits.h>
 
  /* blacklist devices that just map physical memory */
- char *blacklist[] = { "/dev/mem",
+ char *blacklist[] = {

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot