be5369a0cb
* fpc 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
339 B
Diff
12 lines
339 B
Diff
CLONE_NEWNS is only defined for __USE_GNU.
|
|
|
|
--- a/util/fusermount.c 2011-06-27 17:41:08.845498441 +0200
|
|
+++ b/util/fusermount.c 2011-06-27 17:42:31.236498493 +0200
|
|
@@ -26,6 +26,7 @@
|
|
#include <sys/fsuid.h>
|
|
#include <sys/socket.h>
|
|
#include <sys/utsname.h>
|
|
+#define __USE_GNU
|
|
#include <sched.h>
|
|
|
|
#define FUSE_COMMFD_ENV "_FUSE_COMMFD"
|