aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-05-26 19:07:17 +0000
committerMartin Dietze <mdietze@gmail.com>2013-03-02 17:17:37 +0100
commit9da8b3103da786069155fc3e2c8a3e03a5710fbc (patch)
treee2c41b2809d31c53bdb92b7a1f32bd1cedc16530
parent83596230db97496ae53d5075029cb4c1a2f62951 (diff)
downloadopenembedded-9da8b3103da786069155fc3e2c8a3e03a5710fbc.tar.gz
openembedded-9da8b3103da786069155fc3e2c8a3e03a5710fbc.tar.bz2
openembedded-9da8b3103da786069155fc3e2c8a3e03a5710fbc.zip
kismet: Fixed build.
-rw-r--r--recipes/kismet/kismet-2007-10-R1/string_h.patch36
-rw-r--r--recipes/kismet/kismet_2007-10-R1.bb3
2 files changed, 38 insertions, 1 deletions
diff --git a/recipes/kismet/kismet-2007-10-R1/string_h.patch b/recipes/kismet/kismet-2007-10-R1/string_h.patch
new file mode 100644
index 0000000000..363664fb6f
--- /dev/null
+++ b/recipes/kismet/kismet-2007-10-R1/string_h.patch
@@ -0,0 +1,36 @@
+Index: kismet-2007-10-R1/kismet_wrapper.cc
+===================================================================
+--- kismet-2007-10-R1.orig/kismet_wrapper.cc 2007-10-06 21:50:03.000000000 +0000
++++ kismet-2007-10-R1/kismet_wrapper.cc 2009-05-26 12:58:01.000000000 +0000
+@@ -25,6 +25,7 @@
+ #include <sys/wait.h>
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <string.h>
+
+ #include "config.h"
+
+Index: kismet-2007-10-R1/ringbuf.cc
+===================================================================
+--- kismet-2007-10-R1.orig/ringbuf.cc 2005-12-11 19:14:39.000000000 +0000
++++ kismet-2007-10-R1/ringbuf.cc 2009-05-26 12:56:17.000000000 +0000
+@@ -17,6 +17,7 @@
+ */
+
+ #include "ringbuf.h"
++#include <string.h>
+
+ RingBuffer::RingBuffer(int in_size) {
+ ring_len = in_size;
+Index: kismet-2007-10-R1/util.cc
+===================================================================
+--- kismet-2007-10-R1.orig/util.cc 2006-08-28 20:37:29.000000000 +0000
++++ kismet-2007-10-R1/util.cc 2009-05-26 12:57:00.000000000 +0000
+@@ -22,6 +22,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <string.h>
+
+ // We need this to make uclibc happy since they don't even have rintf...
+ #ifndef rintf
diff --git a/recipes/kismet/kismet_2007-10-R1.bb b/recipes/kismet/kismet_2007-10-R1.bb
index 4786543ec8..ac3c56f156 100644
--- a/recipes/kismet/kismet_2007-10-R1.bb
+++ b/recipes/kismet/kismet_2007-10-R1.bb
@@ -1,5 +1,6 @@
require kismet.inc
-SRC_URI += "file://fix_strip.patch;patch=1"
+SRC_URI += "file://fix_strip.patch;patch=1 \
+ file://string_h.patch;patch=1"
PR = "r5"