svn commit: r366135 - stable/11/contrib/dtc

Kyle Evans kevans at FreeBSD.org
Fri Sep 25 01:16:02 UTC 2020


Author: kevans
Date: Fri Sep 25 01:16:01 2020
New Revision: 366135
URL: https://svnweb.freebsd.org/changeset/base/366135

Log:
  dtc: fix the -fno-common build
  
  This is a direct commit to stable/11, as GPL dtc has been removed in head.
  An identical fix was made to stable/12 in r360382.
  
  -fno-common is the default in GCC10/LLVM11.

Modified:
  stable/11/contrib/dtc/dtc-lexer.l

Modified: stable/11/contrib/dtc/dtc-lexer.l
==============================================================================
--- stable/11/contrib/dtc/dtc-lexer.l	Fri Sep 25 00:58:10 2020	(r366134)
+++ stable/11/contrib/dtc/dtc-lexer.l	Fri Sep 25 01:16:01 2020	(r366135)
@@ -42,7 +42,7 @@ LINECOMMENT	"//".*\n
 YY_BUFFER_STATE include_stack[MAX_INCLUDE_NESTING];
 int include_stack_pointer = 0;
 
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
 extern bool treesource_error;
 
 /* CAUTION: this will stop working if we ever use yyless() or yyunput() */


More information about the svn-src-all mailing list