diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-15 08:17:38 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-15 08:17:38 +0000 |
commit | 805b398386e9f1b8a2772f0f76b01732606853f7 (patch) | |
tree | 7b1d535cf21d07758da7c6640b3648e2f727e9a8 /emulators/qemu-devel/files/patch-block-raw.c | |
parent | - Fix for a case when there is more then one MPI process per node in a given (diff) |
- Update to 20061214
- Fix physical device access
PR: ports/106727
Submitted by: Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Notes
Notes:
svn path=/head/; revision=179833
Diffstat (limited to 'emulators/qemu-devel/files/patch-block-raw.c')
-rw-r--r-- | emulators/qemu-devel/files/patch-block-raw.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-block-raw.c b/emulators/qemu-devel/files/patch-block-raw.c index c3a83f27994a..e4690530bf43 100644 --- a/emulators/qemu-devel/files/patch-block-raw.c +++ b/emulators/qemu-devel/files/patch-block-raw.c @@ -1,4 +1,14 @@ Index: qemu/block-raw.c +@@ -51,6 +51,9 @@ + #include <linux/cdrom.h> + #include <linux/fd.h> + #endif ++#if defined(__FreeBSD__) && __FreeBSD__ > 4 ++#include <sys/disk.h> ++#endif + + //#define DEBUG_FLOPPY + @@ -164,9 +164,20 @@ static int aio_sig_num = SIGUSR2; static RawAIOCB *first_aio; /* AIO issued */ |