pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   gson
Date:           Sun Oct 25 08:21:35 UTC 2020

Modified Files:
        pkgsrc/emulators/qemu: Makefile distinfo
Added Files:
        pkgsrc/emulators/qemu/patches: patch-hw_display_tcx.c

Log Message:
qemu: fix regression causing failure to boot NetBSD/sparc

Fix the bug of https://bugs.launchpad.net/qemu/+bug/1892540/
by applying the patch submitted by Philippe Mathieu-Daude.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.254 -r1.255 pkgsrc/emulators/qemu/Makefile
cvs rdiff -u -r1.165 -r1.166 pkgsrc/emulators/qemu/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.254 pkgsrc/emulators/qemu/Makefile:1.255
--- pkgsrc/emulators/qemu/Makefile:1.254        Sat Oct 10 16:29:21 2020
+++ pkgsrc/emulators/qemu/Makefile      Sun Oct 25 08:21:35 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.254 2020/10/10 16:29:21 martin Exp $
+# $NetBSD: Makefile,v 1.255 2020/10/25 08:21:35 gson Exp $
 
 DISTNAME=      qemu-5.1.0
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    emulators
 MASTER_SITES=  https://download.qemu.org/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/emulators/qemu/distinfo
diff -u pkgsrc/emulators/qemu/distinfo:1.165 pkgsrc/emulators/qemu/distinfo:1.166
--- pkgsrc/emulators/qemu/distinfo:1.165        Sat Oct 10 16:29:21 2020
+++ pkgsrc/emulators/qemu/distinfo      Sun Oct 25 08:21:35 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.165 2020/10/10 16:29:21 martin Exp $
+$NetBSD: distinfo,v 1.166 2020/10/25 08:21:35 gson Exp $
 
 SHA1 (palcode-clipper) = e25ae10a10e0801e47b62b9ee2d10c8ccb4ee940
 RMD160 (palcode-clipper) = a637f1cc38dabfdff36e3f02b6dd02d7c63cb8db
@@ -21,6 +21,7 @@ SHA1 (patch-hw_alpha_dp264.c) = 85630478
 SHA1 (patch-hw_alpha_typhoon.c) = 1bed5cd6f355c4163585c5331356ebf38c5c3a16
 SHA1 (patch-hw_core_uboot__image.h) = 17eef02349343c5fcfb7a4069cb6f8fd11efcb59
 SHA1 (patch-hw_display_omap__dss.c) = 6b13242f28e32346bc70548c216c578d98fd3420
+SHA1 (patch-hw_display_tcx.c) = 58f6c90bda734ec83b702b1b13d24c3e3219c7bd
 SHA1 (patch-hw_net_etraxfs__eth.c) = e5dd1661d60dbcd27b332403e0843500ba9544bc
 SHA1 (patch-hw_net_xilinx__axienet.c) = ebcd2676d64ce6f31e4a8c976d4fdf530ad5e8b7
 SHA1 (patch-hw_pci-host_sabre.c) = 75c076757ed96fc9f89cb0159f00c6cedcb39a27

Added files:

Index: pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c
diff -u /dev/null pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c:1.1
--- /dev/null   Sun Oct 25 08:21:35 2020
+++ pkgsrc/emulators/qemu/patches/patch-hw_display_tcx.c        Sun Oct 25 08:21:35 2020
@@ -0,0 +1,54 @@
+$NetBSD: patch-hw_display_tcx.c,v 1.1 2020/10/25 08:21:35 gson Exp $
+
+Fix for https://bugs.launchpad.net/qemu/+bug/1892540/
+by Philippe Mathieu-Daude.
+
+--- hw/display/tcx.c.orig      2020-08-11 19:17:15.000000000 +0000
++++ hw/display/tcx.c
+@@ -548,20 +548,28 @@ static const MemoryRegionOps tcx_stip_op
+     .read = tcx_stip_readl,
+     .write = tcx_stip_writel,
+     .endianness = DEVICE_NATIVE_ENDIAN,
+-    .valid = {
++    .impl = {
+         .min_access_size = 4,
+         .max_access_size = 4,
+     },
++    .valid = {
++        .min_access_size = 4,
++        .max_access_size = 8,
++    },
+ };
+ 
+ static const MemoryRegionOps tcx_rstip_ops = {
+     .read = tcx_stip_readl,
+     .write = tcx_rstip_writel,
+     .endianness = DEVICE_NATIVE_ENDIAN,
+-    .valid = {
++    .impl = {
+         .min_access_size = 4,
+         .max_access_size = 4,
+     },
++    .valid = {
++        .min_access_size = 4,
++        .max_access_size = 8,
++    },
+ };
+ 
+ static uint64_t tcx_blit_readl(void *opaque, hwaddr addr,
+@@ -650,10 +658,14 @@ static const MemoryRegionOps tcx_rblit_o
+     .read = tcx_blit_readl,
+     .write = tcx_rblit_writel,
+     .endianness = DEVICE_NATIVE_ENDIAN,
+-    .valid = {
++    .impl = {
+         .min_access_size = 4,
+         .max_access_size = 4,
+     },
++    .valid = {
++        .min_access_size = 4,
++        .max_access_size = 8,
++    },
+ };
+ 
+ static void tcx_invalidate_cursor_position(TCXState *s)



Home | Main Index | Thread Index | Old Index