Date: Mon, 13 Nov 2017 22:28:47 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454157 - head/sysutils/acpica-tools/files Message-ID: <201711132228.vADMSlPH075067@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Nov 13 22:28:46 2017 New Revision: 454157 URL: https://svnweb.freebsd.org/changeset/ports/454157 Log: Update the previous build fix for arm. This patch is more correct and simpler. Modified: head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l Modified: head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l ============================================================================== --- head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l Mon Nov 13 22:25:07 2017 (r454156) +++ head/sysutils/acpica-tools/files/patch-source_compiler_aslsupport.l Mon Nov 13 22:28:46 2017 (r454157) @@ -1,26 +1,23 @@ ---- source/compiler/aslsupport.l.orig 2017-09-29 15:34:59 UTC +--- source/compiler/aslsupport.l.orig 2017-11-10 16:05:28 UTC +++ source/compiler/aslsupport.l @@ -525,7 +525,7 @@ static void count ( int Type) { - int i; -+ int c, i; ++ char *p; switch (Type) -@@ -547,10 +547,12 @@ count ( +@@ -547,9 +547,9 @@ count ( break; } - for (i = 0; (yytext[i] != 0) && (yytext[i] != EOF); i++) -+ i = 0; -+ while ((c = yytext[i]) != 0 && c != EOF) ++ for (p = yytext; *p != '\0'; p++) { - AslInsertLineBuffer (yytext[i]); -+ AslInsertLineBuffer (c); ++ AslInsertLineBuffer (*p); *Gbl_LineBufPtr = 0; -+ i++; } } -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711132228.vADMSlPH075067>