SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
lang/freehdl/patches/patch-kernel_fhdl_stream_cc
Normal file
22
lang/freehdl/patches/patch-kernel_fhdl_stream_cc
Normal file
|
@ -0,0 +1,22 @@
|
|||
const correct
|
||||
|
||||
Index: kernel/fhdl_stream.cc
|
||||
--- kernel/fhdl_stream.cc.orig
|
||||
+++ kernel/fhdl_stream.cc
|
||||
@@ -4,6 +4,7 @@
|
||||
#endif
|
||||
#include <sstream>
|
||||
#include <assert.h>
|
||||
+#include <string.h>
|
||||
#include <freehdl/kernel-error.hh>
|
||||
#include <freehdl/kernel-fhdl-stream.hh>
|
||||
|
||||
@@ -60,7 +61,7 @@ fhdl_ostream_t::bind_to_socket(int s)
|
||||
}
|
||||
|
||||
fhdl_ostream_t &
|
||||
-fhdl_ostream_t::operator<<(char *p)
|
||||
+fhdl_ostream_t::operator<<(const char *p)
|
||||
{
|
||||
if (!socket_connection)
|
||||
*str << p;
|
Loading…
Add table
Add a link
Reference in a new issue