diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-10-23 17:40:41 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-10-23 17:40:41 +0200 |
commit | 82b5d4ce1ba5e74f7d700af30d3e4b0a4e2d243e (patch) | |
tree | 5392b74e54e22867a4127caaad4ec9890f5b2a14 /packages/qemu/qemu-0.9.1+svn/65_kfreebsd.patch | |
parent | a9acdf3130aea04eeb9064530b748dafe9bc4323 (diff) |
qemu: added SVN version (from Poky)
Diffstat (limited to 'packages/qemu/qemu-0.9.1+svn/65_kfreebsd.patch')
-rw-r--r-- | packages/qemu/qemu-0.9.1+svn/65_kfreebsd.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/qemu/qemu-0.9.1+svn/65_kfreebsd.patch b/packages/qemu/qemu-0.9.1+svn/65_kfreebsd.patch new file mode 100644 index 0000000000..028e85a878 --- /dev/null +++ b/packages/qemu/qemu-0.9.1+svn/65_kfreebsd.patch @@ -0,0 +1,35 @@ +--- + configure | 6 ++++++ + vl.c | 2 ++ + 2 files changed, 8 insertions(+) + +Index: configure +=================================================================== +--- configure.orig 2008-04-24 20:15:46.000000000 +0100 ++++ configure 2008-04-24 20:16:09.000000000 +0100 +@@ -135,6 +135,12 @@ + kqemu="yes" + fi + ;; ++GNU/kFreeBSD) ++oss="yes" ++if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then ++ kqemu="yes" ++fi ++;; + FreeBSD) + bsd="yes" + oss="yes" +Index: vl.c +=================================================================== +--- vl.c.orig 2008-04-24 20:15:58.000000000 +0100 ++++ vl.c 2008-04-24 20:16:09.000000000 +0100 +@@ -97,6 +97,8 @@ + #include <stropts.h> + #endif + #endif ++#elif defined (__GLIBC__) && defined (__FreeBSD_kernel__) ++#include <freebsd/stdlib.h> + #else + #include <winsock2.h> + int inet_aton(const char *cp, struct in_addr *ia); |