From 8bb978d4fa6d218c689f0e8feb2f95b1a8927333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= 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 f9503b191f6c..901823e04b5f 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 000000000000..f67123d6df3a --- /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.2.3