Browse Source

kona: -Werror=implicit-function-declaration

android-5
Fredrik Fornwall 8 years ago
parent
commit
0937abd12e
  1. 11
      packages/kona/src-0.c.patch
  2. 11
      packages/kona/src-kn.c.patch
  3. 9
      packages/kona/src-p.c.patch
  4. 10
      packages/kona/src-v.h.patch

11
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 <sys/socket.h>
#include <netinet/in.h>
+#include <sys/wait.h> /* For wait(2). */
#endif
#include "0.h"

11
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 <sys/socket.h>

9
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"

10
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);
Loading…
Cancel
Save