diff options
| author | Juergen Lock <nox@FreeBSD.org> | 2012-06-09 16:19:05 +0000 |
|---|---|---|
| committer | Juergen Lock <nox@FreeBSD.org> | 2012-06-09 16:19:05 +0000 |
| commit | b4d7f46da987d69753d7e3d9103ccdc3d2e4f2a3 (patch) | |
| tree | 931305c9e0306e3b965f52db014726b96d2ffc17 /emulators/qemu-devel/files | |
| parent | - Update to 2.2.38 (diff) | |
- Update net/usbredir to 0.4.3 .
- Update emulators/qemu-devel to 1.1.0 - announce posting is here:
http://lists.nongnu.org/archive/html/qemu-devel/2012-06/msg00072.html
Diffstat (limited to 'emulators/qemu-devel/files')
| -rw-r--r-- | emulators/qemu-devel/files/patch-Makefile | 31 | ||||
| -rw-r--r-- | emulators/qemu-devel/files/patch-bg | 6 | ||||
| -rw-r--r-- | emulators/qemu-devel/files/patch-configure | 8 | ||||
| -rw-r--r-- | emulators/qemu-devel/files/patch-qemu-timer.h | 13 | ||||
| -rw-r--r-- | emulators/qemu-devel/files/patch-z-bandaid-usb-current | 14 | ||||
| -rw-r--r-- | emulators/qemu-devel/files/pcap-patch | 10 |
6 files changed, 28 insertions, 54 deletions
diff --git a/emulators/qemu-devel/files/patch-Makefile b/emulators/qemu-devel/files/patch-Makefile index 28c7fce9f05d..0ea9a8df7622 100644 --- a/emulators/qemu-devel/files/patch-Makefile +++ b/emulators/qemu-devel/files/patch-Makefile @@ -1,6 +1,6 @@ Index: qemu/Makefile -@@ -29,7 +29,11 @@ $(call set-vpath, $(SRC_PATH):$(SRC_PATH - LIBS+=-lz $(LIBS_TOOLS) +@@ -40,7 +40,11 @@ LIBS+=-lz $(LIBS_TOOLS) + HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) ifdef BUILD_DOCS +ifdef NOPORTDOCS @@ -8,29 +8,30 @@ Index: qemu/Makefile +else DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt +endif - else - DOCS= + ifdef CONFIG_VIRTFS + DOCS+=fsdev/virtfs-proxy-helper.1 endif -@@ -169,8 +173,10 @@ BLOBS= +@@ -269,8 +273,10 @@ BLOBS= endif install-doc: $(DOCS) +ifndef NOPORTDOCS - $(INSTALL_DIR) "$(DESTDIR)$(docdir)" - $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" + $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)" + $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(qemu_docdir)" +endif ifdef CONFIG_POSIX $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" $(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" -@@ -180,7 +186,10 @@ endif +@@ -289,8 +295,11 @@ install-confdir: + $(INSTALL_DIR) "$(DESTDIR)$(qemu_confdir)" - install-sysconfig: - $(INSTALL_DIR) "$(DESTDIR)$(sysconfdir)/qemu" -- $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(sysconfdir)/qemu" -+ $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(sysconfdir)/qemu/target-x86_64.conf.sample" -+ if [ ! -f "$(sysconfdir)/qemu/target-x86_64.conf" ]; then \ -+ $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"; \ + install-sysconfig: install-datadir install-confdir +- $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(qemu_confdir)" ++ $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(qemu_confdir)/target-x86_64.conf.sample" ++ if [ ! -f "$(qemu_confdir)/target-x86_64.conf" ]; then \ ++ $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(qemu_confdir)"; \ + fi + $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/cpus-x86_64.conf "$(DESTDIR)$(qemu_datadir)" - install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig + install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig install-datadir $(INSTALL_DIR) "$(DESTDIR)$(bindir)" diff --git a/emulators/qemu-devel/files/patch-bg b/emulators/qemu-devel/files/patch-bg index d557dd5544a6..b96153595ce5 100644 --- a/emulators/qemu-devel/files/patch-bg +++ b/emulators/qemu-devel/files/patch-bg @@ -1,5 +1,5 @@ Index: qemu/net.h -@@ -173,8 +173,8 @@ void net_host_device_remove(Monitor *mon +@@ -174,8 +174,8 @@ void net_host_device_remove(Monitor *mon int do_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret_data); int do_netdev_del(Monitor *mon, const QDict *qdict, QObject **ret_data); @@ -7,8 +7,8 @@ Index: qemu/net.h -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" +#define DEFAULT_NETWORK_SCRIPT PREFIX "/etc/qemu-ifup" +#define DEFAULT_NETWORK_DOWN_SCRIPT PREFIX "/etc/qemu-ifdown" - - void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd); + #define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper" + #define DEFAULT_BRIDGE_INTERFACE "br0" Index: qemu/net/tap.h @@ -29,8 +29,8 @@ diff --git a/emulators/qemu-devel/files/patch-configure b/emulators/qemu-devel/files/patch-configure index b10a590664f3..48bc5cf97466 100644 --- a/emulators/qemu-devel/files/patch-configure +++ b/emulators/qemu-devel/files/patch-configure @@ -1,15 +1,15 @@ --- a/configure +++ a/configure -@@ -285,7 +285,7 @@ bigendian="no" +@@ -154,7 +154,7 @@ bigendian="no" mingw32="no" EXESUF="" prefix="/usr/local" -mandir="\${prefix}/share/man" +mandir="\${prefix}/man" - datadir="\${prefix}/share/qemu" - docdir="\${prefix}/share/doc/qemu" + datadir="\${prefix}/share" + qemu_docdir="\${prefix}/share/doc/qemu" bindir="\${prefix}/bin" -@@ -1964,15 +1964,18 @@ if compile_prog "" "" ; then +@@ -2511,15 +2511,18 @@ if compile_prog "" "" ; then fi # Check if tools are available to build documentation. diff --git a/emulators/qemu-devel/files/patch-qemu-timer.h b/emulators/qemu-devel/files/patch-qemu-timer.h deleted file mode 100644 index 998a7aca5d50..000000000000 --- a/emulators/qemu-devel/files/patch-qemu-timer.h +++ /dev/null @@ -1,13 +0,0 @@ ---- a/qemu-timer.h -+++ b/qemu-timer.h -@@ -4,6 +4,10 @@ - #include "qemu-common.h" - #include <time.h> - #include <sys/time.h> -+#ifdef __FreeBSD__ /* for __FreeBSD_version */ -+#include <sys/param.h> -+#endif -+#include <sys/time.h> - - #ifdef _WIN32 - #include <windows.h> diff --git a/emulators/qemu-devel/files/patch-z-bandaid-usb-current b/emulators/qemu-devel/files/patch-z-bandaid-usb-current deleted file mode 100644 index ad66da21f543..000000000000 --- a/emulators/qemu-devel/files/patch-z-bandaid-usb-current +++ /dev/null @@ -1,14 +0,0 @@ -Index: qemu/usb-bsd.c -@@ -35,7 +35,12 @@ - - #include <sys/ioctl.h> - #ifndef __DragonFly__ -+#include <sys/param.h> -+#if __FreeBSD_version >= 800064 -+#include <legacy/dev/usb/usb.h> -+#else - #include <dev/usb/usb.h> -+#endif - #else - #include <bus/usb/usb.h> - #endif diff --git a/emulators/qemu-devel/files/pcap-patch b/emulators/qemu-devel/files/pcap-patch index 59a3fd9e4871..ed698e12dbc4 100644 --- a/emulators/qemu-devel/files/pcap-patch +++ b/emulators/qemu-devel/files/pcap-patch @@ -1,16 +1,16 @@ --- configure.orig 2010-01-29 14:36:00.000000000 -0500 +++ configure 2010-01-29 14:36:00.000000000 -0500 -@@ -185,6 +185,9 @@ opengl="" - zlib="yes" +@@ -194,6 +194,9 @@ zlib="yes" guest_agent="yes" libiscsi="" + coroutine="" +pcap="no" +pcap_create="no" +bpf="no" # parse CC options first for opt do -@@ -638,6 +641,8 @@ for opt do +@@ -670,6 +673,8 @@ for opt do ;; --enable-vnc-thread) vnc_thread="yes" ;; @@ -19,7 +19,7 @@ --disable-slirp) slirp="no" ;; --disable-uuid) uuid="no" -@@ -1529,6 +1534,49 @@ EOF +@@ -1619,6 +1624,49 @@ EOF fi ########################################## @@ -69,7 +69,7 @@ # VNC TLS detection if test "$vnc" = "yes" -a "$vnc_tls" != "no" ; then cat > $TMPC <<EOF -@@ -2950,6 +2998,15 @@ fi +@@ -3117,6 +3165,15 @@ fi if test "$profiler" = "yes" ; then echo "CONFIG_PROFILER=y" >> $config_host_mak fi |
