From 586031d99782e1f63801e7a9db3c02a6225401e9 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 7 Jul 2017 00:57:20 +0200 Subject: [PATCH] kona: -Werror=implicit-function-declaration --- packages/kona/src-0.c.patch | 11 +++++++++++ packages/kona/src-kn.c.patch | 11 +++++++++++ packages/kona/src-p.c.patch | 9 +++++++++ packages/kona/src-v.h.patch | 10 ++++++++++ 4 files changed, 41 insertions(+) create mode 100644 packages/kona/src-0.c.patch create mode 100644 packages/kona/src-kn.c.patch create mode 100644 packages/kona/src-p.c.patch create mode 100644 packages/kona/src-v.h.patch diff --git a/packages/kona/src-0.c.patch b/packages/kona/src-0.c.patch new file mode 100644 index 000000000..b82f84b9a --- /dev/null +++ b/packages/kona/src-0.c.patch @@ -0,0 +1,11 @@ +diff -u -r ../kona-Win.3.39-69/src/0.c ./src/0.c +--- ../kona-Win.3.39-69/src/0.c 2016-04-17 18:10:22.000000000 +0000 ++++ ./src/0.c 2017-07-06 22:48:04.933685208 +0000 +@@ -13,6 +13,7 @@ + #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__ANDROID__) + #include + #include ++#include /* For wait(2). */ + #endif + + #include "0.h" diff --git a/packages/kona/src-kn.c.patch b/packages/kona/src-kn.c.patch new file mode 100644 index 000000000..304c96626 --- /dev/null +++ b/packages/kona/src-kn.c.patch @@ -0,0 +1,11 @@ +diff -u -r ../kona-Win.3.39-69/src/kn.c ./src/kn.c +--- ../kona-Win.3.39-69/src/kn.c 2016-04-17 18:10:22.000000000 +0000 ++++ ./src/kn.c 2017-07-06 22:56:28.547903872 +0000 +@@ -4,6 +4,7 @@ + #include "k.h" + #include "km.h" + #include "kn.h" ++#include "c.h" + + #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__ANDROID__) + #include diff --git a/packages/kona/src-p.c.patch b/packages/kona/src-p.c.patch new file mode 100644 index 000000000..7de664ca9 --- /dev/null +++ b/packages/kona/src-p.c.patch @@ -0,0 +1,9 @@ +diff -u -r ../kona-Win.3.39-69/src/p.c ./src/p.c +--- ../kona-Win.3.39-69/src/p.c 2016-04-17 18:10:22.000000000 +0000 ++++ ./src/p.c 2017-07-06 22:52:49.750416845 +0000 +@@ -1,4 +1,5 @@ + #include "incs.h" ++#include "c.h" + #include "k.h" + #include "km.h" + #include "p.h" diff --git a/packages/kona/src-v.h.patch b/packages/kona/src-v.h.patch new file mode 100644 index 000000000..ea143a8be --- /dev/null +++ b/packages/kona/src-v.h.patch @@ -0,0 +1,10 @@ +diff -u -r ../kona-Win.3.39-69/src/v.h ./src/v.h +--- ../kona-Win.3.39-69/src/v.h 2016-04-17 18:10:22.000000000 +0000 ++++ ./src/v.h 2017-07-06 22:54:46.265079031 +0000 +@@ -6,3 +6,6 @@ + extern V offsetSSR,offsetWhat,offsetAt,offsetDot,offsetColon; //k.c + extern K KTREE; //k.c + K wd_(S s,I n,K*dict,K func); //p.c ++ ++K lookupEntryOrCreate(K *p, S k); ++K* EAP(K e);