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 ```
24 lines
451 B
Diff
24 lines
451 B
Diff
diff --git b64.c b64.c
|
|
index 0649c1e..7788089 100644
|
|
--- a/b64.c
|
|
+++ b/b64.c
|
|
@@ -4,6 +4,7 @@
|
|
|
|
#include <openssl/bio.h>
|
|
#include <openssl/evp.h>
|
|
+#include <limits.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
diff --git util.c util.c
|
|
index 3ec4e71..5989c6c 100644
|
|
--- a/util.c
|
|
+++ b/util.c
|
|
@@ -9,6 +9,7 @@
|
|
#include <openssl/ec.h>
|
|
#include <openssl/obj_mac.h>
|
|
|
|
+#include <limits.h>
|
|
#include <stdlib.h>
|
|
#include <fcntl.h>
|
|
#include <sys/stat.h>
|