Index: head/sysutils/acpica-tools/Makefile =================================================================== --- head/sysutils/acpica-tools/Makefile (revision 509621) +++ head/sysutils/acpica-tools/Makefile (revision 509622) @@ -1,35 +1,36 @@ # $FreeBSD$ PORTNAME= acpica PORTVERSION= 20190816 +PORTREVISION= 1 CATEGORIES= sysutils devel MASTER_SITES= https://acpica.org/sites/acpica/files/ \ LOCAL/jkim PKGNAMESUFFIX= -tools DISTNAME= ${PORTNAME}-unix-${PORTVERSION} MAINTAINER= jkim@FreeBSD.org COMMENT= Tools from the ACPI Component Architecture (ACPICA) project LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual BROKEN_powerpc64= fails to compile: comparison is always true due to limited range of data type USES= bison gmake BUILD_WRKSRC= ${WRKSRC}/generate/unix ACPICA_TOOLS= acpibin acpidump acpiexec acpihelp acpinames acpisrc ACPICA_TOOLS+= acpixtract iasl PLIST_FILES= ${ACPICA_TOOLS:S,^,bin/,} -MAKE_ARGS= HOST=_FreeBSD NOOPT=TRUE PROGS="${ACPICA_TOOLS}" +MAKE_ARGS= HOST=_FreeBSD PROGS="${ACPICA_TOOLS}" MAKE_ARGS+= CC="${CC}" LEX="${FLEX}" YACC="${LOCALBASE}/bin/bison" do-install: ${INSTALL_PROGRAM} ${ACPICA_TOOLS:S,^,${BUILD_WRKSRC}/bin/,} \ ${STAGEDIR}${PREFIX}/bin .include Index: head/sysutils/acpica-tools/files/patch-source_common_dmtables.c =================================================================== --- head/sysutils/acpica-tools/files/patch-source_common_dmtables.c (revision 509621) +++ head/sysutils/acpica-tools/files/patch-source_common_dmtables.c (revision 509622) @@ -1,11 +1,11 @@ --- source/common/dmtables.c.orig 2019-08-16 15:01:10 UTC +++ source/common/dmtables.c @@ -327,7 +327,7 @@ AdCreateTableHeader ( * makes it easier to rename the disassembled ASL file if needed. */ AcpiOsPrintf ( - "DefinitionBlock (\"\", \"%4.4s\", %hu, \"%.6s\", \"%.8s\", 0x%8.8X)\n", -+ "DefinitionBlock (\"\", \"%4.4s\", %hhu, \"%.6s\", \"%.8s\", 0x%8.8X)\n", ++ "DefinitionBlock (\"\", \"%4.4s\", %u, \"%.6s\", \"%.8s\", 0x%8.8X)\n", Table->Signature, Table->Revision, Table->OemId, Table->OemTableId, Table->OemRevision); } Index: head/sysutils/acpica-tools/files/patch-source_components_namespace_nsdump.c =================================================================== --- head/sysutils/acpica-tools/files/patch-source_components_namespace_nsdump.c (revision 509621) +++ head/sysutils/acpica-tools/files/patch-source_components_namespace_nsdump.c (revision 509622) @@ -1,20 +1,20 @@ --- source/components/namespace/nsdump.c.orig 2019-08-16 15:01:13 UTC +++ source/components/namespace/nsdump.c @@ -478,7 +478,7 @@ AcpiNsDumpOneObject ( AcpiOsPrintf (" ="); for (i = 0; (i < ObjDesc->Buffer.Length && i < 12); i++) { - AcpiOsPrintf (" %.2hX", ObjDesc->Buffer.Pointer[i]); -+ AcpiOsPrintf (" %.2hhX", ObjDesc->Buffer.Pointer[i]); ++ AcpiOsPrintf (" %2.2X", ObjDesc->Buffer.Pointer[i]); } } AcpiOsPrintf ("\n"); @@ -575,7 +575,7 @@ AcpiNsDumpOneObject ( case ACPI_TYPE_LOCAL_BANK_FIELD: case ACPI_TYPE_LOCAL_INDEX_FIELD: - AcpiOsPrintf (" Off %.3X Len %.2X Acc %.2hd\n", -+ AcpiOsPrintf (" Off %.3X Len %.2X Acc %.2hhd\n", ++ AcpiOsPrintf (" Off %.3X Len %.2X Acc %.2X\n", (ObjDesc->CommonField.BaseByteOffset * 8) + ObjDesc->CommonField.StartFieldBitOffset, ObjDesc->CommonField.BitLength, Index: head/sysutils/acpica-tools/files/patch-source_components_utilities_uttrack.c =================================================================== --- head/sysutils/acpica-tools/files/patch-source_components_utilities_uttrack.c (nonexistent) +++ head/sysutils/acpica-tools/files/patch-source_components_utilities_uttrack.c (revision 509622) @@ -0,0 +1,11 @@ +--- source/components/utilities/uttrack.c.orig 2019-08-16 15:01:14 UTC ++++ source/components/utilities/uttrack.c +@@ -864,7 +864,7 @@ AcpiUtDumpAllocations ( + + case ACPI_DESC_TYPE_PARSER: + +- AcpiOsPrintf ("AmlOpcode 0x%04hX\n", ++ AcpiOsPrintf ("AmlOpcode 0x%04X\n", + Descriptor->Op.Asl.AmlOpcode); + break; + Property changes on: head/sysutils/acpica-tools/files/patch-source_components_utilities_uttrack.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property