diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-05-26 19:07:17 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-05-26 19:07:17 +0000 |
commit | 11af43ab7498f86026004daeca86fdde8f1ae0b6 (patch) | |
tree | e2c41b2809d31c53bdb92b7a1f32bd1cedc16530 /recipes/kismet | |
parent | 09e27e7990ab6e72cd117eb9f2f6184ae2f7edbe (diff) |
kismet: Fixed build.
Diffstat (limited to 'recipes/kismet')
-rw-r--r-- | recipes/kismet/kismet-2007-10-R1/string_h.patch | 36 | ||||
-rw-r--r-- | recipes/kismet/kismet_2007-10-R1.bb | 3 |
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" |