Date: Thu, 18 Apr 2019 23:06:43 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499317 - in head/emulators: . qemu2 qemu2/files Message-ID: <201904182306.x3IN6hfu046091@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Thu Apr 18 23:06:43 2019 New Revision: 499317 URL: https://svnweb.freebsd.org/changeset/ports/499317 Log: [NEW] emulators/qemu2: 2.X version of emulators/qemu - Remove GNS3 OPTION - Update dependency to gtk30 and sdl20 - Limit PORTSCOUT to 2.X verrsion only Added: head/emulators/qemu2/ - copied from r498831, head/emulators/qemu/ head/emulators/qemu2/files/patch-hw_rdma_Makefile.objs (contents, props changed) head/emulators/qemu2/files/patch-hw_rdma_vmw_pvrdma__cmd.c (contents, props changed) Deleted: head/emulators/qemu2/files/patch-rdma-pvrdma-split Modified: head/emulators/Makefile head/emulators/qemu2/Makefile head/emulators/qemu2/files/patch-Makefile head/emulators/qemu2/files/patch-configure head/emulators/qemu2/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc head/emulators/qemu2/files/patch-include_net_net.h head/emulators/qemu2/files/patch-include_qemu_atomic.h head/emulators/qemu2/files/patch-net_tap-bsd.c head/emulators/qemu2/files/patch-qemu-doc.texi head/emulators/qemu2/pkg-plist Modified: head/emulators/Makefile ============================================================================== --- head/emulators/Makefile Thu Apr 18 20:52:15 2019 (r499316) +++ head/emulators/Makefile Thu Apr 18 23:06:43 2019 (r499317) @@ -110,6 +110,7 @@ SUBDIR += py-gns3-converter SUBDIR += py-unicorn SUBDIR += qemu + SUBDIR += qemu2 SUBDIR += qemu-cheri SUBDIR += qemu-devel SUBDIR += qemu-powernv Modified: head/emulators/qemu2/Makefile ============================================================================== --- head/emulators/qemu/Makefile Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/Makefile Thu Apr 18 23:06:43 2019 (r499317) @@ -3,92 +3,94 @@ PORTNAME= qemu PORTVERSION= 2.12.1 -PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ +PKGNAMESUFFIX= 2 DIST_SUBDIR= qemu/${PORTVERSION} -MAINTAINER?= bofh@FreeBSD.org -COMMENT?= QEMU CPU Emulator +MAINTAINER= bofh@FreeBSD.org +COMMENT= QEMU CPU Emulator LICENSE= GPLv2 BROKEN_powerpc64= fails to compile: In function aio_bh_poll: internal compiler error: Segmentation fault -LIB_DEPENDS?= libnettle.so:security/nettle \ +LIB_DEPENDS= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") -ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 -USE_XORG= pixman -USE_GNOME+= cairo glib20 libxml2 -.endif - -USES?= cpe gl gmake gnome pkgconfig bison perl5 python:2.7,build tar:xz +USES= cpe gl gmake gnome pkgconfig bison perl5 python:build tar:xz +USE_GNOME= cairo libxml2 USE_PERL5= build +PORTSCOUT= limit:^2\. + HAS_CONFIGURE= yes MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 -OPTIONS_DEFINE= SAMBA X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CURL \ - VDE CDROM_DMA PCAP USBREDIR GNS3 X86_TARGETS \ +OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ + VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ STATIC_LINK DOCS NCURSES -SAMBA_DESC= samba dependency (for -smb) +CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) -SASL_DESC= cyrus-sasl dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) -PNG_DESC= png dependency (vnc compression) -CDROM_DMA_DESC= IDE CDROM DMA PCAP_DESC= pcap dependency (networking with bpf) -USBREDIR_DESC= usb device network redirection (experimental!) -GNS3_DESC= gns3 patches (promiscuous multicast) -X86_TARGETS_DESC= Build only x86 system targets +PNG_DESC= png dependency (vnc compression) +SAMBA_DESC= samba dependency (for -smb) +SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables +USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) -OPTIONS_DEFAULT=X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP GNS3 NCURSES VDE +X86_TARGETS_DESC= Build only x86 system targets +OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES VDE OPTIONS_SUB= yes -X11_USE= SDL=sdl XORG=x11,xext GNOME=gdkpixbuf2 -X11_CONFIGURE_ENABLE= sdl -GTK2_USE= GNOME=gtk20,vte,gdkpixbuf2 XORG=x11,xext -GTK2_USES= gettext -GTK2_CONFIGURE_OFF= --disable-gtk --disable-vte -GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +CURL_CONFIGURE_OFF= --disable-curl +CURL_LIB_DEPENDS= libcurl.so:ftp/curl +DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html +DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 +DOCS_USES= makeinfo GNUTLS_CONFIGURE_OFF= --disable-gnutls -SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 -SASL_CONFIGURE_OFF= --disable-vnc-sasl +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte +GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \ + libepoxy.so:graphics/libepoxy \ + libdrm.so:graphics/libdrm \ + libpcre2-8.so:devel/pcre2 +GTK3_USE= GL=gbm GNOME=gdkpixbuf2,gtk30,vte3 XORG=x11,xext +GTK3_USES= gettext JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg -PNG_LIB_DEPENDS= libpng.so:graphics/png -PNG_CONFIGURE_OFF= --disable-vnc-png -CURL_LIB_DEPENDS= libcurl.so:ftp/curl -CURL_CONFIGURE_OFF= --disable-curl -OPENGL_USE= GL=glu +NCURSES_USES= ncurses:base OPENGL_CONFIGURE_OFF= --disable-opengl -USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir -USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir -USBREDIR_CONFIGURE_OFF= --disable-usb-redir +OPENGL_USE= GL=glu PCAP_CONFIGURE_ON= --enable-pcap PCAP_EXTRA_PATCHES= ${FILESDIR}/pcap-patch ${FILESDIR}/pcap-patch-net_net.c \ ${FILESDIR}/pcap-patch-net_clients.h -VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 -VDE_CONFIGURE_OFF= --disable-vde +PNG_CONFIGURE_OFF= --disable-vnc-png +PNG_LIB_DEPENDS= libpng.so:graphics/png +SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd +SAMBA_USES= samba:run # smbd +SASL_CONFIGURE_OFF= --disable-vnc-sasl +SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 STATIC_LINK_CONFIGURE_ON= --static -STATIC_LINK_PREVENTS= GTK2 X11 +STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static -NCURSES_USES= ncurses:base -SAMBA_USES= samba:run # smbd -SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd -DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html -DOCS_USES= makeinfo -DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 +USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir +USBREDIR_CONFIGURE_OFF= --disable-usb-redir +USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir +VDE_CONFIGURE_OFF= --disable-vde +VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 +X11_CONFIGURE_ENABLE= sdl +X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 +X11_USES= sdl +X86_TARGETS_USE_OFF= XORG=pixman -PORTDOCS?= docs qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ +PORTDOCS= docs qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ qemu-qmp-ref.html qemu-qmp-ref.txt WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} -CONFIGURE_ARGS?=--localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ +CONFIGURE_ARGS= --localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh2 --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ @@ -119,34 +121,8 @@ CONFIGURE_ARGS+= --sparc_cpu=v9 PLIST_SUB+= LINUXBOOT_DMA="" -# -lprocstat actually only _needs_ -lelf after r249666 or r250870 (MFC) -# but it shouldn't matter much -post-patch: - @${REINPLACE_CMD} -e '/LIBS/s|-lprocstat|-lprocstat -lelf|' \ - -e '/libusb/s/ --atleast-version=1\.0\.[0-9]*//' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e '/libs_qga=/s|glib_libs|glib_libs -lintl|' ${WRKSRC}/configure - @${REINPLACE_CMD} -E \ - -e "/^by Tibor .TS. S/s|Sch.*z.$$|Schuetz.|" \ - ${WRKSRC}/qemu-doc.texi - @${REINPLACE_CMD} -E \ - -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing|" \ - -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ - ${WRKSRC}/Makefile.target - @${REINPLACE_CMD} -E \ - -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing -I.|" \ - -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ - ${WRKSRC}/Makefile - @${REINPLACE_CMD} -E \ - -e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \ - ${WRKSRC}/scripts/texi2pod.pl - post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h - -post-patch-GNS3-on: - @${REINPLACE_CMD} -e 's|(buf\[0\] & 1) && (rctl & E1000_RCTL_MPE)|buf[0] \& 1|' \ - ${WRKSRC}/hw/net/e1000.c # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet Modified: head/emulators/qemu2/files/patch-Makefile ============================================================================== --- head/emulators/qemu/files/patch-Makefile Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/files/patch-Makefile Thu Apr 18 23:06:43 2019 (r499317) @@ -1,6 +1,6 @@ ---- Makefile.orig 2018-04-24 16:30:46 UTC +--- Makefile.orig 2018-08-02 21:48:53 UTC +++ Makefile -@@ -350,10 +350,15 @@ LIBS+=-lz $(LIBS_TOOLS) +@@ -350,9 +350,14 @@ LIBS+=-lz $(LIBS_TOOLS) HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) ifdef BUILD_DOCS @@ -15,7 +15,6 @@ DOCS+=docs/qemu-block-drivers.7 ifdef CONFIG_VIRTFS DOCS+=fsdev/virtfs-proxy-helper.1 - endif @@ -797,11 +802,13 @@ BLOBS= endif Modified: head/emulators/qemu2/files/patch-configure ============================================================================== --- head/emulators/qemu/files/patch-configure Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/files/patch-configure Thu Apr 18 23:06:43 2019 (r499317) @@ -1,6 +1,14 @@ ---- configure.orig 2018-04-24 16:30:46 UTC +--- configure.orig 2019-04-14 20:18:21 UTC +++ configure -@@ -369,7 +369,7 @@ DSOSUF=".so" +@@ -353,6 +353,7 @@ hax="no" + hvf="no" + whpx="no" + rdma="" ++pvrdma="" + gprof="no" + debug_tcg="no" + debug="no" +@@ -369,7 +370,7 @@ DSOSUF=".so" LDFLAGS_SHARED="-shared" modules="no" prefix="/usr/local" @@ -9,7 +17,7 @@ datadir="\${prefix}/share" firmwarepath="\${prefix}/share/qemu-firmware" qemu_docdir="\${prefix}/share/doc/qemu" -@@ -449,6 +449,9 @@ numa="" +@@ -449,6 +450,9 @@ numa="" tcmalloc="no" jemalloc="no" replication="yes" @@ -19,7 +27,7 @@ vxhs="" libxml2="" -@@ -1030,6 +1033,10 @@ for opt do +@@ -1032,6 +1036,10 @@ for opt do ;; --enable-vnc-png) vnc_png="yes" ;; @@ -30,10 +38,81 @@ --disable-slirp) slirp="no" ;; --disable-vde) vde="no" -@@ -2799,6 +2806,14 @@ if ! check_include "ifaddrs.h" ; then +@@ -1308,6 +1316,10 @@ for opt do + ;; + --disable-rdma) rdma="no" + ;; ++ --enable-pvrdma) pvrdma="yes" ++ ;; ++ --disable-pvrdma) pvrdma="no" ++ ;; + --with-gtkabi=*) gtkabi="$optarg" + ;; + --disable-vte) vte="no" +@@ -1593,7 +1605,8 @@ disabled with --disable-FEATURE, default is enabled if + hax HAX acceleration support + hvf Hypervisor.framework acceleration support + whpx Windows Hypervisor Platform acceleration support +- rdma Enable RDMA-based migration and PVRDMA support ++ rdma Enable RDMA-based migration ++ pvrdma Enable PVRDMA support + vde support for vde network + netmap support for netmap network + linux-aio Linux AIO support +@@ -2791,7 +2804,49 @@ else + tasn1=no fi ++########################################## ++# PVRDMA detection + ++cat > $TMPC <<EOF && ++#include <sys/mman.h> ++ ++int ++main(void) ++{ ++ char buf = 0; ++ void *addr = &buf; ++ addr = mremap(addr, 0, 1, MREMAP_MAYMOVE | MREMAP_FIXED); ++ ++ return 0; ++} ++EOF ++ ++if test "$rdma" = "yes" ; then ++ case "$pvrdma" in ++ "") ++ if compile_prog "" ""; then ++ pvrdma="yes" ++ else ++ pvrdma="no" ++ fi ++ ;; ++ "yes") ++ if ! compile_prog "" ""; then ++ error_exit "PVRDMA is not supported since mremap is not implemented" ++ fi ++ pvrdma="yes" ++ ;; ++ "no") ++ pvrdma="no" ++ ;; ++ esac ++else ++ if test "$pvrdma" = "yes" ; then ++ error_exit "PVRDMA requires rdma suppport" ++ fi ++ pvrdma="no" ++fi ++ ########################################## + # getifaddrs (for tests/test-io-channel-socket ) + +@@ -2801,6 +2856,14 @@ if ! check_include "ifaddrs.h" ; then + fi + + ########################################## +# getifaddrs (for tests/test-io-channel-socket ) + +have_ifaddrs_h=yes @@ -45,7 +124,7 @@ # VTE probe if test "$vte" != "no"; then -@@ -2969,7 +2984,51 @@ EOF +@@ -2971,7 +3034,51 @@ EOF fi fi @@ -97,7 +176,16 @@ ########################################## # VNC SASL detection if test "$vnc" = "yes" -a "$vnc_sasl" != "no" ; then -@@ -4331,14 +4390,7 @@ fi +@@ -3388,7 +3495,7 @@ for i in $glib_modules; do + glib_libs=$($pkg_config --libs $i) + QEMU_CFLAGS="$glib_cflags $QEMU_CFLAGS" + LIBS="$glib_libs $LIBS" +- libs_qga="$glib_libs $libs_qga" ++ libs_qga="$glib_libs -lintl $libs_qga" + else + error_exit "glib-$glib_req_ver $i is required to compile QEMU" + fi +@@ -4333,14 +4440,7 @@ fi # Check if tools are available to build documentation. if test "$docs" != "no" ; then @@ -112,7 +200,16 @@ fi # Search for bswap_32 function -@@ -5783,6 +5835,7 @@ echo "Audio drivers $audio_drv_list" +@@ -4465,7 +4565,7 @@ fi + + # check for libusb + if test "$libusb" != "no" ; then +- if $pkg_config --atleast-version=1.0.13 libusb-1.0; then ++ if $pkg_config libusb-1.0; then + libusb="yes" + libusb_cflags=$($pkg_config --cflags libusb-1.0) + libusb_libs=$($pkg_config --libs libusb-1.0) +@@ -5785,6 +5885,7 @@ echo "Audio drivers $audio_drv_list" echo "Block whitelist (rw) $block_drv_rw_whitelist" echo "Block whitelist (ro) $block_drv_ro_whitelist" echo "VirtFS support $virtfs" @@ -120,7 +217,15 @@ echo "Multipath support $mpath" echo "VNC support $vnc" if test "$vnc" = "yes" ; then -@@ -6010,6 +6063,15 @@ fi +@@ -5820,6 +5921,7 @@ if test "$tcg" = "yes" ; then + fi + echo "malloc trim support $malloc_trim" + echo "RDMA support $rdma" ++echo "PVRDMA support $pvrdma" + echo "fdt support $fdt" + echo "membarrier $membarrier" + echo "preadv support $preadv" +@@ -6012,6 +6114,15 @@ fi if test "$profiler" = "yes" ; then echo "CONFIG_PROFILER=y" >> $config_host_mak fi @@ -136,13 +241,24 @@ if test "$slirp" = "yes" ; then echo "CONFIG_SLIRP=y" >> $config_host_mak echo "CONFIG_SMBD_COMMAND=\"$smbd\"" >> $config_host_mak -@@ -6247,6 +6309,9 @@ fi - # if this macro is set. +@@ -6250,6 +6361,9 @@ fi if test "$have_fsxattr" = "yes" ; then echo "HAVE_FSXATTR=y" >> $config_host_mak -+fi + fi +if test "$have_ifaddrs_h" = "yes" ; then + echo "HAVE_IFADDRS_H=y" >> $config_host_mak - fi ++fi if test "$vte" = "yes" ; then echo "CONFIG_VTE=y" >> $config_host_mak + echo "VTE_CFLAGS=$vte_cflags" >> $config_host_mak +@@ -6566,6 +6680,10 @@ echo "CONFIG_TRACE_FILE=$trace_file" >> $config_host_m + if test "$rdma" = "yes" ; then + echo "CONFIG_RDMA=y" >> $config_host_mak + echo "RDMA_LIBS=$rdma_libs" >> $config_host_mak ++fi ++ ++if test "$pvrdma" = "yes" ; then ++ echo "CONFIG_PVRDMA=y" >> $config_host_mak + fi + + if test "$have_rtnetlink" = "yes" ; then Modified: head/emulators/qemu2/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc ============================================================================== --- head/emulators/qemu/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/files/patch-disas_libvixl_vixl_a64_disasm-a64.cc Thu Apr 18 23:06:43 2019 (r499317) @@ -1,6 +1,6 @@ ---- disas/libvixl/vixl/a64/disasm-a64.cc.orig 2016-04-14 20:19:53 UTC +--- disas/libvixl/vixl/a64/disasm-a64.cc.orig 2018-08-02 21:48:53 UTC +++ disas/libvixl/vixl/a64/disasm-a64.cc -@@ -2693,7 +2693,7 @@ void Disassembler::AppendPCRelativeOffse +@@ -2693,7 +2693,7 @@ void Disassembler::AppendPCRelativeOffsetToOutput(cons if (offset < 0) { abs_offset = -abs_offset; } Added: head/emulators/qemu2/files/patch-hw_rdma_Makefile.objs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/qemu2/files/patch-hw_rdma_Makefile.objs Thu Apr 18 23:06:43 2019 (r499317) @@ -0,0 +1,8 @@ +--- hw/rdma/Makefile.objs.orig 2018-08-02 21:48:53 UTC ++++ hw/rdma/Makefile.objs +@@ -1,4 +1,4 @@ +-ifeq ($(CONFIG_RDMA),y) ++ifeq ($(CONFIG_PVRDMA),y) + obj-$(CONFIG_PCI) += rdma_utils.o rdma_backend.o rdma_rm.o + obj-$(CONFIG_PCI) += vmw/pvrdma_dev_ring.o vmw/pvrdma_cmd.o \ + vmw/pvrdma_qp_ops.o vmw/pvrdma_main.o Added: head/emulators/qemu2/files/patch-hw_rdma_vmw_pvrdma__cmd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/qemu2/files/patch-hw_rdma_vmw_pvrdma__cmd.c Thu Apr 18 23:06:43 2019 (r499317) @@ -0,0 +1,10 @@ +--- hw/rdma/vmw/pvrdma_cmd.c.orig 2018-08-02 21:48:53 UTC ++++ hw/rdma/vmw/pvrdma_cmd.c +@@ -16,7 +16,6 @@ + #include "qemu/osdep.h" + #include "qemu/error-report.h" + #include "cpu.h" +-#include <linux/types.h> + #include "hw/hw.h" + #include "hw/pci/pci.h" + #include "hw/pci/pci_ids.h" Modified: head/emulators/qemu2/files/patch-include_net_net.h ============================================================================== --- head/emulators/qemu/files/patch-include_net_net.h Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/files/patch-include_net_net.h Thu Apr 18 23:06:43 2019 (r499317) @@ -1,6 +1,6 @@ ---- include/net/net.h.orig 2015-11-03 20:01:34 UTC +--- include/net/net.h.orig 2018-08-02 21:48:53 UTC +++ include/net/net.h -@@ -202,8 +202,8 @@ void qmp_netdev_add(QDict *qdict, QObjec +@@ -217,8 +217,8 @@ void qmp_netdev_add(QDict *qdict, QObject **ret, Error int net_hub_id_for_client(NetClientState *nc, int *id); NetClientState *net_hub_port_find(int hub_id); Modified: head/emulators/qemu2/files/patch-include_qemu_atomic.h ============================================================================== --- head/emulators/qemu/files/patch-include_qemu_atomic.h Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/files/patch-include_qemu_atomic.h Thu Apr 18 23:06:43 2019 (r499317) @@ -1,6 +1,6 @@ ---- include/qemu/atomic.h.orig 2017-04-20 14:57:00 UTC +--- include/qemu/atomic.h.orig 2018-08-02 21:48:53 UTC +++ include/qemu/atomic.h -@@ -182,10 +182,12 @@ +@@ -200,10 +200,12 @@ /* Provide shorter names for GCC atomic builtins, return old value */ #define atomic_fetch_inc(ptr) __atomic_fetch_add(ptr, 1, __ATOMIC_SEQ_CST) #define atomic_fetch_dec(ptr) __atomic_fetch_sub(ptr, 1, __ATOMIC_SEQ_CST) @@ -13,7 +13,7 @@ #define atomic_fetch_xor(ptr, n) __atomic_fetch_xor(ptr, n, __ATOMIC_SEQ_CST) #define atomic_inc_fetch(ptr) __atomic_add_fetch(ptr, 1, __ATOMIC_SEQ_CST) -@@ -199,10 +201,12 @@ +@@ -217,10 +219,12 @@ /* And even shorter names that return void. */ #define atomic_inc(ptr) ((void) __atomic_fetch_add(ptr, 1, __ATOMIC_SEQ_CST)) #define atomic_dec(ptr) ((void) __atomic_fetch_sub(ptr, 1, __ATOMIC_SEQ_CST)) @@ -26,7 +26,7 @@ #define atomic_xor(ptr, n) ((void) __atomic_fetch_xor(ptr, n, __ATOMIC_SEQ_CST)) #else /* __ATOMIC_RELAXED */ -@@ -370,10 +374,12 @@ +@@ -388,10 +392,12 @@ #define atomic_inc_fetch(ptr) __sync_add_and_fetch(ptr, 1) #define atomic_dec_fetch(ptr) __sync_add_and_fetch(ptr, -1) @@ -39,7 +39,7 @@ #define atomic_xor_fetch(ptr, n) __sync_xor_and_fetch(ptr, n) #define atomic_cmpxchg(ptr, old, new) __sync_val_compare_and_swap(ptr, old, new) -@@ -382,10 +388,12 @@ +@@ -400,10 +406,12 @@ /* And even shorter names that return void. */ #define atomic_inc(ptr) ((void) __sync_fetch_and_add(ptr, 1)) #define atomic_dec(ptr) ((void) __sync_fetch_and_add(ptr, -1)) Modified: head/emulators/qemu2/files/patch-net_tap-bsd.c ============================================================================== --- head/emulators/qemu/files/patch-net_tap-bsd.c Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/files/patch-net_tap-bsd.c Thu Apr 18 23:06:43 2019 (r499317) @@ -1,6 +1,6 @@ ---- net/tap-bsd.c.orig 2015-11-03 20:01:34 UTC +--- net/tap-bsd.c.orig 2018-08-02 21:48:53 UTC +++ net/tap-bsd.c -@@ -29,6 +29,7 @@ +@@ -31,6 +31,7 @@ #if defined(__NetBSD__) || defined(__FreeBSD__) #include <sys/ioctl.h> Modified: head/emulators/qemu2/files/patch-qemu-doc.texi ============================================================================== --- head/emulators/qemu/files/patch-qemu-doc.texi Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/files/patch-qemu-doc.texi Thu Apr 18 23:06:43 2019 (r499317) @@ -1,6 +1,15 @@ ---- qemu-doc.texi.orig 2015-11-03 20:01:35 UTC +--- qemu-doc.texi.orig 2018-08-02 21:48:53 UTC +++ qemu-doc.texi -@@ -355,7 +355,8 @@ Send Ctrl-a +@@ -197,7 +197,7 @@ VGA BIOS. + QEMU uses YM3812 emulation by Tatsuyuki Satoh. + + QEMU uses GUS emulation (GUSEMU32 @url{http://www.deinmeister.de/gusemu/}) +-by Tibor "TS" Schütz. ++by Tibor "TS" Schuetz. + + Note that, by default, GUS shares IRQ(7) with parallel ports and so + QEMU must be told to not have parallel ports to have working GUS. +@@ -557,7 +557,8 @@ Send the escape character to the frontend @c man begin SEEALSO The HTML documentation of QEMU for more precise information and Linux Modified: head/emulators/qemu2/pkg-plist ============================================================================== --- head/emulators/qemu/pkg-plist Sat Apr 13 20:11:48 2019 (r498831) +++ head/emulators/qemu2/pkg-plist Thu Apr 18 23:06:43 2019 (r499317) @@ -2,6 +2,7 @@ bin/qemu-ga bin/qemu-i386 bin/qemu-img bin/qemu-io +%%GTK3%%bin/qemu-keymap bin/qemu-nbd %%NO_X86_TARGETS%%bin/qemu-sparc %%NO_X86_TARGETS%%bin/qemu-sparc64 @@ -134,10 +135,10 @@ man/man8/qemu-nbd.8.gz %%DATADIR%%/keymaps/sv %%DATADIR%%/keymaps/th %%DATADIR%%/keymaps/tr -%%GTK2%%share/locale/bg/LC_MESSAGES/qemu.mo -%%GTK2%%share/locale/de_DE/LC_MESSAGES/qemu.mo -%%GTK2%%share/locale/fr_FR/LC_MESSAGES/qemu.mo -%%GTK2%%share/locale/it/LC_MESSAGES/qemu.mo -%%GTK2%%share/locale/hu/LC_MESSAGES/qemu.mo -%%GTK2%%share/locale/tr/LC_MESSAGES/qemu.mo -%%GTK2%%share/locale/zh_CN/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/bg/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/de_DE/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/fr_FR/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/it/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/hu/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/tr/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/zh_CN/LC_MESSAGES/qemu.mo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904182306.x3IN6hfu046091>