freebsd-ports/cad/freehdl/files/patch-kernel_fhdl__stream.cc
John Marino 32842933d3 cad/freehdl: Unbreak on F10+ and stage
I could not fix this port on clang.  It finds the double argument to the
"to_string" function ambiguious and nothing I tried resolved the
ambiguity.  In the end, I cheated by setting USE_GCC=any and I'll leave
the clang fix to a C++ expert.
2014-07-18 08:09:53 +00:00

10 lines
254 B
C++

--- kernel/fhdl_stream.cc.orig 2006-01-12 08:05:01.000000000 +0000
+++ kernel/fhdl_stream.cc
@@ -2,6 +2,7 @@
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
+#include <cstring>
#include <sstream>
#include <assert.h>
#include <freehdl/kernel-error.hh>