svn commit: r545769 - head/sysutils/dtc/files

Niclas Zeising zeising at FreeBSD.org
Sat Aug 22 15:24:35 UTC 2020


Author: zeising
Date: Sat Aug 22 15:24:34 2020
New Revision: 545769
URL: https://svnweb.freebsd.org/changeset/ports/545769

Log:
  sysutils/dtc: Fix build with -fno-common
  
  Add a patch from upstream to sysutils/dtc to fix build with -fno-common,
  which is the default with llvm 11.
  
  MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)

Added:
  head/sysutils/dtc/files/
  head/sysutils/dtc/files/patch-0e9225eb.c   (contents, props changed)

Added: head/sysutils/dtc/files/patch-0e9225eb.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/dtc/files/patch-0e9225eb.c	Sat Aug 22 15:24:34 2020	(r545769)
@@ -0,0 +1,12 @@
+diff --git a/dtc-lexer.l b/dtc-lexer.l
+index 5c6c3fd..b3b7270 100644
+--- dtc-lexer.l
++++ dtc-lexer.l
+@@ -23,7 +23,6 @@ LINECOMMENT	"//".*\n
+ #include "srcpos.h"
+ #include "dtc-parser.tab.h"
+ 
+-YYLTYPE yylloc;
+ extern bool treesource_error;
+ 
+ /* CAUTION: this will stop working if we ever use yyless() or yyunput() */


More information about the svn-ports-head mailing list