103ab731ab
* runit 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 ```
12 lines
371 B
Diff
12 lines
371 B
Diff
--- a/plugins/imfile/imfile.c 2016-11-15 17:31:37.446892834 +0000
|
|
+++ b/plugins/imfile/imfile.c 2016-11-15 17:34:49.629902749 +0000
|
|
@@ -34,6 +34,9 @@
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
#include <glob.h>
|
|
+#if !defined(GLOB_BRACE)
|
|
+#define GLOB_BRACE 0 /* no GLOB_BRACE in musl libc */
|
|
+#endif
|
|
#include <poll.h>
|
|
#include <fnmatch.h>
|
|
#ifdef HAVE_SYS_INOTIFY_H
|