2
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.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Dario Binacchi 1 жил өмнө
parent
commit
a82ad53371

+ 3 - 1
package/memstat/0001-PATH_MAX.patch

@@ -1,6 +1,8 @@
 Add missing #include for PATH_MAX
 
 Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 
 --- 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 <maarten@treewalker.org>
 +#include <limits.h>
  
  /* blacklist devices that just map physical memory */
- char *blacklist[] = { "/dev/mem",
+ char *blacklist[] = {