freebsd-ports/cad/freehdl/files/patch-vaul_dunit.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

11 lines
207 B
C++

--- vaul/dunit.cc.orig 2005-12-14 08:23:06.000000000 +0000
+++ vaul/dunit.cc
@@ -27,6 +27,7 @@
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
#if HAVE_MALLOC_H
#include <malloc.h>
#endif