Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/qemu-kvm/files: qemu-kvm-1.0.1-freebsd-sysctl-header.patch
Date: Sun, 08 Jul 2012 04:00:20
Message-Id: 20120708040009.CC3BF20065@flycatcher.gentoo.org
1 cardoe 12/07/08 04:00:09
2
3 Added: qemu-kvm-1.0.1-freebsd-sysctl-header.patch
4 Log:
5 Add Gentoo/FreeBSD support. bug #421399
6
7 (Portage version: 2.1.10.65/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.1 app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu-kvm/files/qemu-kvm-1.0.1-freebsd-sysctl-header.patch?rev=1.1&content-type=text/plain
14
15 Index: qemu-kvm-1.0.1-freebsd-sysctl-header.patch
16 ===================================================================
17 --- a/os-posix.c
18 +++ b/os-posix.c
19 @@ -27,6 +27,9 @@
20 #include <fcntl.h>
21 #include <signal.h>
22 #include <sys/types.h>
23 +#ifdef __FreeBSD__
24 +#include <sys/sysctl.h>
25 +#endif
26 #include <sys/wait.h>
27 /*needed for MAP_POPULATE before including qemu-options.h */
28 #include <sys/mman.h>