svn commit: r338232 - head/usr.bin/dtc

Kyle Evans kevans at FreeBSD.org
Thu Aug 23 02:26:42 UTC 2018


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.


More information about the svn-src-all mailing list