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:   jperkin
Date:           Wed Jun 16 09:39:17 UTC 2021

Modified Files:
        pkgsrc/emulators/qemu: distinfo
Added Files:
        pkgsrc/emulators/qemu/patches: patch-hw_i386_acpi-build.c

Log Message:
qemu: Fix build on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 pkgsrc/emulators/qemu/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/qemu/patches/patch-hw_i386_acpi-build.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/distinfo
diff -u pkgsrc/emulators/qemu/distinfo:1.179 pkgsrc/emulators/qemu/distinfo:1.180
--- pkgsrc/emulators/qemu/distinfo:1.179        Tue Jun  1 16:28:05 2021
+++ pkgsrc/emulators/qemu/distinfo      Wed Jun 16 09:39:17 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.179 2021/06/01 16:28:05 nia Exp $
+$NetBSD: distinfo,v 1.180 2021/06/16 09:39:17 jperkin Exp $
 
 SHA1 (palcode-clipper-qemu-5.2.0nb8) = ddbf1dffb7c2b2157e0bbe9fb7db7e57105130b1
 RMD160 (palcode-clipper-qemu-5.2.0nb8) = 3f9fe19a40f7ca72ecfe047d1449e55b63cba3ee
@@ -18,6 +18,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_i386_acpi-build.c) = 7d23d09f71917cedca4226fd22baa45bcb0f7d33
 SHA1 (patch-hw_mips_meson.build) = ff4bec33d9d2f86a425e02928aa3b6963c22da68
 SHA1 (patch-hw_net_etraxfs__eth.c) = e5dd1661d60dbcd27b332403e0843500ba9544bc
 SHA1 (patch-hw_net_xilinx__axienet.c) = ebcd2676d64ce6f31e4a8c976d4fdf530ad5e8b7

Added files:

Index: pkgsrc/emulators/qemu/patches/patch-hw_i386_acpi-build.c
diff -u /dev/null pkgsrc/emulators/qemu/patches/patch-hw_i386_acpi-build.c:1.1
--- /dev/null   Wed Jun 16 09:39:17 2021
+++ pkgsrc/emulators/qemu/patches/patch-hw_i386_acpi-build.c    Wed Jun 16 09:39:17 2021
@@ -0,0 +1,24 @@
+$NetBSD: patch-hw_i386_acpi-build.c,v 1.1 2021/06/16 09:39:17 jperkin Exp $
+
+Avoid "sun" define.
+
+--- hw/i386/acpi-build.c.orig  2021-04-29 17:18:58.000000000 +0000
++++ hw/i386/acpi-build.c
+@@ -534,7 +534,7 @@ Aml *aml_pci_device_dsm(void)
+     Aml *bnum = aml_arg(4);
+     Aml *func = aml_arg(2);
+     Aml *rev = aml_arg(1);
+-    Aml *sun = aml_arg(5);
++    Aml *qsun = aml_arg(5);
+ 
+     method = aml_method("PDSM", 6, AML_SERIALIZED);
+ 
+@@ -545,7 +545,7 @@ Aml *aml_pci_device_dsm(void)
+     UUID = aml_touuid("E5C937D0-3553-4D7A-9117-EA4D19C3434D");
+     ifctx = aml_if(aml_equal(aml_arg(0), UUID));
+     {
+-        aml_append(ifctx, aml_store(aml_call2("AIDX", bnum, sun), acpi_index));
++        aml_append(ifctx, aml_store(aml_call2("AIDX", bnum, qsun), acpi_index));
+         ifctx1 = aml_if(aml_equal(func, zero));
+         {
+             uint8_t byte_list[1];



Home | Main Index | Thread Index | Old Index