summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu/files/65_kfreebsd.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-12-04 13:58:45 +0000
committerRichard Purdie <richard@openedhand.com>2007-12-04 13:58:45 +0000
commitd0b4968cd24a0152e88396d40310cdbae9555a1f (patch)
tree0ec4da2bbbbfcc7300780589135c01a3430ff774 /meta/packages/qemu/files/65_kfreebsd.patch
parent1fbde4b0c426c59695eb19e3785718dddf62632c (diff)
downloadpoky-d0b4968cd24a0152e88396d40310cdbae9555a1f.tar.gz
qemu: Make 20071121 the default version and cleanup various file locations and recipes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3305 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/files/65_kfreebsd.patch')
-rw-r--r--meta/packages/qemu/files/65_kfreebsd.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/packages/qemu/files/65_kfreebsd.patch b/meta/packages/qemu/files/65_kfreebsd.patch
deleted file mode 100644
index ea060811a1..0000000000
--- a/meta/packages/qemu/files/65_kfreebsd.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1---
2 configure | 6 ++++++
3 vl.c | 4 +++-
4 2 files changed, 9 insertions(+), 1 deletion(-)
5
6Index: configure
7===================================================================
8--- configure.orig 2007-06-13 11:48:22.000000000 +0100
9+++ configure 2007-06-13 11:52:07.000000000 +0100
10@@ -112,6 +112,12 @@ OS_CFLAGS="-mno-cygwin"
11 MINGW32*)
12 mingw32="yes"
13 ;;
14+GNU/kFreeBSD)
15+oss="yes"
16+if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
17+ kqemu="yes"
18+fi
19+;;
20 FreeBSD)
21 bsd="yes"
22 oss="yes"
23Index: vl.c
24===================================================================
25--- vl.c.orig 2007-06-13 11:51:54.000000000 +0100
26+++ vl.c 2007-06-13 11:51:56.000000000 +0100
27@@ -47,6 +47,8 @@
28 #ifndef __APPLE__
29 #include <libutil.h>
30 #endif
31+#elif defined (__GLIBC__) && defined (__FreeBSD_kernel__)
32+#include <freebsd/stdlib.h>
33 #else
34 #ifndef __sun__
35 #include <linux/if.h>
36@@ -3454,7 +3456,7 @@ static TAPState *net_tap_fd_init(VLANSta
37 return s;
38 }
39
40-#ifdef _BSD
41+#if defined (_BSD) || defined (__FreeBSD_kernel__)
42 static int tap_open(char *ifname, int ifname_size)
43 {
44 int fd;