From d44d530460cc4662569af391551e0f94e56c85bc Mon Sep 17 00:00:00 2001 From: royger Date: Tue, 20 Jun 2017 14:45:02 +0000 Subject: MFH: r443875 xen-tools: fix ASL QEMU code In order to build with newer IASL compiler found in FreeBSD 12 Sponsored by: Citrix Systems R&D Approved by: ports-secteam (feld) --- sysutils/xen-tools/Makefile | 2 +- sysutils/xen-tools/files/iasl-qemuu.patch | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 sysutils/xen-tools/files/iasl-qemuu.patch diff --git a/sysutils/xen-tools/Makefile b/sysutils/xen-tools/Makefile index f9503b1..901823e 100644 --- a/sysutils/xen-tools/Makefile +++ b/sysutils/xen-tools/Makefile @@ -3,7 +3,7 @@ PORTNAME= xen PKGNAMESUFFIX= -tools PORTVERSION= 4.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils emulators MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/ diff --git a/sysutils/xen-tools/files/iasl-qemuu.patch b/sysutils/xen-tools/files/iasl-qemuu.patch new file mode 100644 index 0000000..f67123d --- /dev/null +++ b/sysutils/xen-tools/files/iasl-qemuu.patch @@ -0,0 +1,26 @@ +diff --git a/hw/i386/acpi-dsdt.dsl b/hw/i386/acpi-dsdt.dsl +index a2d84ecf8f..e86d3eb263 100644 +--- a/hw/i386/acpi-dsdt.dsl ++++ b/hw/i386/acpi-dsdt.dsl +@@ -62,8 +62,6 @@ DefinitionBlock ( + + Scope(\_SB.PCI0) { + +- External(ISA, DeviceObj) +- + Device(ISA) { + Name(_ADR, 0x00010000) + +diff --git a/hw/i386/q35-acpi-dsdt.dsl b/hw/i386/q35-acpi-dsdt.dsl +index 16eaca3fae..44fa4a9c0c 100644 +--- a/hw/i386/q35-acpi-dsdt.dsl ++++ b/hw/i386/q35-acpi-dsdt.dsl +@@ -55,8 +55,6 @@ DefinitionBlock ( + Name(_ADR, 0x00) + Name(_UID, 1) + +- External(ISA, DeviceObj) +- + // _OSC: based on sample of ACPI3.0b spec + Name(SUPP, 0) // PCI _OSC Support Field value + Name(CTRL, 0) // PCI _OSC Control Field value -- cgit v1.1