+#etc/qemu
+etc/qemu/target-x86_64.conf
usr/bin/qemu
usr/bin/qemu-i386
usr/bin/qemu-img
usr/bin/qemu-io
usr/bin/qemu-nbd
+#usr/share/doc/qemu
+#usr/share/doc/qemu/qemu-doc.html
+#usr/share/doc/qemu/qemu-tech.html
+#usr/share/man/man1/qemu-img.1
+#usr/share/man/man1/qemu.1
+#usr/share/man/man8/qemu-nbd.8
usr/share/qemu
usr/share/qemu/bamboo.dtb
usr/share/qemu/bios.bin
+usr/share/qemu/gpxe-eepro100-80861209.rom
usr/share/qemu/keymaps
usr/share/qemu/keymaps/ar
usr/share/qemu/keymaps/common
usr/share/qemu/petalogix-s3adsp1800.dtb
usr/share/qemu/ppc_rom.bin
usr/share/qemu/pxe-e1000.bin
-usr/share/qemu/pxe-i82559er.bin
usr/share/qemu/pxe-ne2k_pci.bin
usr/share/qemu/pxe-pcnet.bin
usr/share/qemu/pxe-rtl8139.bin
usr/share/qemu/pxe-virtio.bin
+usr/share/qemu/s390-zipl.rom
usr/share/qemu/vgabios-cirrus.bin
+usr/share/qemu/vgabios-qxl.bin
+usr/share/qemu/vgabios-stdvga.bin
+usr/share/qemu/vgabios-vmware.bin
usr/share/qemu/vgabios.bin
-usr/share/qemu/video.x
include Config
-VER = 0.12.3
+VER = 0.14.1
THISAPP = qemu-$(VER)
DL_FILE = $(THISAPP).tar.gz
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = qemu
-PAK_VER = 10
+PAK_VER = 11
DEPS = "sdl"
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = d215e4568650e8019816397174c090e1
+$(DL_FILE)_MD5 = b6c713a8db638e173af53a62d5178640
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr \
+
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-0.14.1_missing_ATFCWD_hack.patch
+
+ cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \
--target-list="i386-linux-user i386-softmmu"
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
--- /dev/null
+diff -Naur qemu-0.14.1.org/hw/virtio-9p-local.c qemu-0.14.1/hw/virtio-9p-local.c
+--- qemu-0.14.1.org/hw/virtio-9p-local.c 2011-05-06 21:01:43.000000000 +0200
++++ qemu-0.14.1/hw/virtio-9p-local.c 2011-05-18 14:04:32.432444320 +0200
+@@ -10,6 +10,7 @@
+ * the COPYING file in the top-level directory.
+ *
+ */
++
+ #include "virtio.h"
+ #include "virtio-9p.h"
+ #include "virtio-9p-xattr.h"
+@@ -20,6 +21,16 @@
+ #include <sys/un.h>
+ #include <attr/xattr.h>
+
++#ifndef AT_FDCWD
++/* Copied from linux/include/linux/fcntl.h * because direct include fails */
++#define AT_FDCWD -100 /* Special value used to indicate
++ openat should use the current
++ working directory. */
++#define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */
++#define AT_REMOVEDIR 0x200 /* Remove directory instead of
++ unlinking file. */
++#define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */
++#endif
+
+ static int local_lstat(FsContext *fs_ctx, const char *path, struct stat *stbuf)
+ {