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 ```
24 lines
970 B
Diff
24 lines
970 B
Diff
The location <sys/fcntl.h> is wrong, it is just <fcntl.h>
|
|
|
|
--- a/src/lib/liblow.c 2012-10-26 23:21:38.000000000 +0200
|
|
+++ b/src/lib/liblow.c 2015-06-22 15:36:38.956046661 +0200
|
|
@@ -33,7 +33,7 @@
|
|
#include <sys/types.h> /* socket() */
|
|
#include <sys/socket.h> /* socket() */
|
|
#include <sys/un.h> /* struct sockaddr_un */
|
|
-#include <sys/fcntl.h> /* O_RDONLY */
|
|
+#include <fcntl.h> /* O_RDONLY */
|
|
#include <sys/stat.h> /* stat() */
|
|
|
|
#ifdef SIGTSTP /* true if BSD system */
|
|
--- a/src/daemon/gpm.c 2012-10-26 23:21:38.000000000 +0200
|
|
+++ b/src/daemon/gpm.c 2015-06-22 15:44:46.825020280 +0200
|
|
@@ -29,7 +29,7 @@
|
|
#include <signal.h> /* SIGPIPE */
|
|
#include <time.h> /* time() */
|
|
#include <sys/param.h>
|
|
-#include <sys/fcntl.h> /* O_RDONLY */
|
|
+#include <fcntl.h> /* O_RDONLY */
|
|
#include <sys/wait.h> /* wait() */
|
|
#include <sys/stat.h> /* mkdir() */
|
|
#include <sys/time.h> /* timeval */
|