49cb564d14
* par is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
10 lines
319 B
Diff
10 lines
319 B
Diff
--- a/src/utils.c 2015-08-19 10:39:10.080521155 +0200
|
|
+++ b/src/utils.c 2015-08-19 10:39:27.140521047 +0200
|
|
@@ -22,6 +22,7 @@
|
|
#include <fcntl.h>
|
|
#include <signal.h>
|
|
#include <libintl.h>
|
|
+#include <limits.h>
|
|
|
|
/* File name used to tag directories created by pmount */
|
|
#define CREATED_DIR_STAMP ".created_by_pmount"
|