Index: head/sysutils/acpica-tools/Makefile =================================================================== --- head/sysutils/acpica-tools/Makefile (revision 453934) +++ head/sysutils/acpica-tools/Makefile (revision 453935) @@ -1,37 +1,35 @@ # $FreeBSD$ PORTNAME= acpica PORTVERSION= 20171110 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_armv6= fails to compile: comparison of constant -1 with expression of type char is always true -BROKEN_aarch64= fails to compile: comparison of constant -1 with expression of type char is always true BROKEN_powerpc64= fails to compile: comparison is always true due to limited range of data type USES= 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+= CC="${CC}" LEX="${FLEX}" YACC="${YACC}" do-install: ${INSTALL_PROGRAM} ${ACPICA_TOOLS:S,^,${BUILD_WRKSRC}/bin/,} \ ${STAGEDIR}${PREFIX}/bin .include Index: head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l =================================================================== --- head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l (nonexistent) +++ head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l (revision 453935) @@ -0,0 +1,26 @@ +--- source/compiler/aslsupport.l.orig 2017-09-29 15:34:59 UTC ++++ source/compiler/aslsupport.l +@@ -525,7 +525,7 @@ static void + count ( + int Type) + { +- int i; ++ int c, i; + + + switch (Type) +@@ -547,10 +547,12 @@ count ( + break; + } + +- for (i = 0; (yytext[i] != 0) && (yytext[i] != EOF); i++) ++ i = 0; ++ while ((c = yytext[i]) != 0 && c != EOF) + { +- AslInsertLineBuffer (yytext[i]); ++ AslInsertLineBuffer (c); + *Gbl_LineBufPtr = 0; ++ i++; + } + } + Property changes on: head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l ___________________________________________________________________ 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