Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2018 02:26:40 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338232 - head/usr.bin/dtc
Message-ID:  <201808230226.w7N2QeWt079950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Thu Aug 23 02:26:40 2018
New Revision: 338232
URL: https://svnweb.freebsd.org/changeset/base/338232

Log:
  dtc(1): Update to 0892ec7; HACKING and implicit header fixes
  
  Fixes courtesy of arichardson and jmg:
  - HACKING was pointing to the wrong place
  - Added headers were being relied on implicitly, but libstdc++ did not
    comply with the unspoken wishes of dtc.
  
  MFC after:	1 week

Modified:
  head/usr.bin/dtc/HACKING
  head/usr.bin/dtc/string.cc
  head/usr.bin/dtc/util.hh

Modified: head/usr.bin/dtc/HACKING
==============================================================================
--- head/usr.bin/dtc/HACKING	Thu Aug 23 02:22:07 2018	(r338231)
+++ head/usr.bin/dtc/HACKING	Thu Aug 23 02:26:40 2018	(r338232)
@@ -8,9 +8,9 @@ This file contains some notes for people wishing to ha
 Upstreaming
 -----------
 
-This code is developed in the FreeBSD svn repository:
+This code is developed in the git repository:
 
-https://svn.freebsd.org/base/head/usr.bin/dtc
+https://github.com/davidchisnall/dtc
 
 If you got the source from anywhere else and wish to make changes, please
 ensure that you are working against the latest version, or you may end up

Modified: head/usr.bin/dtc/string.cc
==============================================================================
--- head/usr.bin/dtc/string.cc	Thu Aug 23 02:22:07 2018	(r338231)
+++ head/usr.bin/dtc/string.cc	Thu Aug 23 02:26:40 2018	(r338232)
@@ -36,6 +36,7 @@
 #include <functional>
 #include <cstdio>
 #include <cstdlib>
+#include <cstring>
 #include <ctype.h>
 #include <libgen.h>
 

Modified: head/usr.bin/dtc/util.hh
==============================================================================
--- head/usr.bin/dtc/util.hh	Thu Aug 23 02:22:07 2018	(r338231)
+++ head/usr.bin/dtc/util.hh	Thu Aug 23 02:26:40 2018	(r338232)
@@ -35,6 +35,9 @@
 #ifndef _UTIL_HH_
 #define _UTIL_HH_
 
+#include <memory>
+#include <stdint.h>
+#include <string>
 #include <vector>
 
 // If we aren't using C++11, then just ignore static asserts.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808230226.w7N2QeWt079950>