svn commit: r402694 - head/sysutils/acpica-tools/files
Jung-uk Kim
jkim at FreeBSD.org
Mon Nov 30 19:15:08 UTC 2015
Author: jkim
Date: Mon Nov 30 19:15:07 2015
New Revision: 402694
URL: https://svnweb.freebsd.org/changeset/ports/402694
Log:
Fix build with GCC 4.2 on amd64.
Added:
head/sysutils/acpica-tools/files/
head/sysutils/acpica-tools/files/patch-source_components_debugger_dbdisply.c (contents, props changed)
Added: head/sysutils/acpica-tools/files/patch-source_components_debugger_dbdisply.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/acpica-tools/files/patch-source_components_debugger_dbdisply.c Mon Nov 30 19:15:07 2015 (r402694)
@@ -0,0 +1,16 @@
+--- source/components/debugger/dbdisply.c.orig 2015-11-24 15:11:26 UTC
++++ source/components/debugger/dbdisply.c
+@@ -671,10 +671,12 @@ AcpiDbDisplayObjectType (
+ ACPI_HANDLE Handle;
+ ACPI_DEVICE_INFO *Info;
+ ACPI_STATUS Status;
++ unsigned long Address;
+ UINT32 i;
+
+
+- Handle = ACPI_TO_POINTER (strtoul (ObjectArg, NULL, 16));
++ Address = strtoul (ObjectArg, NULL, 16);
++ Handle = ACPI_TO_POINTER (Address);
+
+ Status = AcpiGetObjectInfo (Handle, &Info);
+ if (ACPI_FAILURE (Status))
More information about the svn-ports-head
mailing list