From owner-svn-ports-head@freebsd.org Mon Nov 13 22:28:48 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AB55DD8AA4; Mon, 13 Nov 2017 22:28:48 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1C15126B; Mon, 13 Nov 2017 22:28:47 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vADMSlvJ075068; Mon, 13 Nov 2017 22:28:47 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vADMSlPH075067; Mon, 13 Nov 2017 22:28:47 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201711132228.vADMSlPH075067@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Mon, 13 Nov 2017 22:28:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454157 - head/sysutils/acpica-tools/files X-SVN-Group: ports-head X-SVN-Commit-Author: jkim X-SVN-Commit-Paths: head/sysutils/acpica-tools/files X-SVN-Commit-Revision: 454157 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 22:28:48 -0000 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++; } } -