ports/sysutils/osquery/files/patch-boost-1.69
Jan Beich dc81410cc4 sysutils/osquery: unbreak with boost 1.69
In file included from osquery/remote/serializers/json.cpp:11:
In file included from osquery/core/json.h:15:
In file included from include/osquery/system.h:23:
include/osquery/posix/system.h:29:39: error: expected class name
class DropPrivileges : private boost::noncopyable {
                                      ^
In file included from osquery/remote/serializers/json.cpp:11:
In file included from osquery/core/json.h:15:
include/osquery/system.h:42:36: error: expected class name
class Initializer : private boost::noncopyable {
                                   ^

PR:		232525
2018-10-22 20:27:59 +00:00

13 lines
286 B
Text

https://github.com/facebook/osquery/issues/5266
--- include/osquery/system.h.orig 2018-09-19 05:51:29 UTC
+++ include/osquery/system.h
@@ -14,6 +14,8 @@
#include <mutex>
#include <string>
+#include <boost/noncopyable.hpp>
+
#include <osquery/core.h>
#include <osquery/mutex.h>