7fc9190f0e
* gcc is kept at -Np0, because of void-cross ```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
377 B
Diff
12 lines
377 B
Diff
Add include of sys/select.h for FD_ISSET definition
|
|
|
|
--- a/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c 2015-06-01 08:19:06.507624249 +0200
|
|
+++ b/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c 2015-06-01 08:19:45.070624135 +0200
|
|
@@ -31,6 +31,7 @@
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <sys/select.h>
|
|
|
|
#include <dlfcn.h>
|
|
#include <pthread.h>
|