ports/emulators/qemu/files/patch-vl.h
Pav Lucistnik 4a45abe094 - update to 20061031 cvs snapshot (now uses aio and supports acpi and a new
qcow2 image format)
- properly respect NOPORTDOCS
- make -serial /dev/cuadX work (modified patch from this post:
  http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00201.html , and hi
  Michael! :)
- add WITHOUT_SDL (hi joshe! :) and WITHOUT_CDROM_DMA knobs (the latter to work
  around atapicam problems in FreeBSD guests with the now by default enabled
  ide cdrom dma patch)
- use OPTIONS

PR:		ports/104989
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-10-31 22:55:34 +00:00

12 lines
212 B
C

Index: qemu/vl.h
@@ -73,6 +73,10 @@
#define PRIo64 "I64o"
#endif
+#ifndef ENOMEDIUM
+#define ENOMEDIUM 4097
+#endif
+
#ifdef QEMU_TOOL
/* we use QEMU_TOOL in the command line tools which do not depend on