pkgsrc/devel/libthrift/patches/patch-lib_cpp_src_thrift_server_TNonblockingServer.cpp
jperkin 6f46d2ffde libthrift: Fix strings.h and building without lua.
This package is very broken, building with perl/python options enabled
fails, and a lot of options are missing from PKG_SUPPORTED_OPTIONS.  If
nobody cares about language bindings we should just disable them all and
significantly simplify the package.
2018-05-15 10:16:17 +00:00

17 lines
446 B
C++

$NetBSD: patch-lib_cpp_src_thrift_server_TNonblockingServer.cpp,v 1.1 2018/05/15 10:16:17 jperkin Exp $
Need strings.h for bzero().
--- lib/cpp/src/thrift/server/TNonblockingServer.cpp.orig 2017-12-03 19:11:36.000000000 +0000
+++ lib/cpp/src/thrift/server/TNonblockingServer.cpp
@@ -71,6 +71,10 @@
#include <stdint.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
namespace apache {
namespace thrift {
namespace server {