aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-10-23 04:27:59 +0800
committerjbeich <jbeich@FreeBSD.org>2018-10-23 04:27:59 +0800
commit522ff34ab6ddf3a9a149a5922f8879c279dc9a04 (patch)
tree2ce43eef4816b747606fff4bf2e648a2ff37c1a5
parentb4d93fc41973a21d53d802fbc737c7919fd80461 (diff)
downloadfreebsd-ports-gnome-522ff34ab6ddf3a9a149a5922f8879c279dc9a04.tar.gz
freebsd-ports-gnome-522ff34ab6ddf3a9a149a5922f8879c279dc9a04.tar.zst
freebsd-ports-gnome-522ff34ab6ddf3a9a149a5922f8879c279dc9a04.zip
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
-rw-r--r--sysutils/osquery/files/patch-boost-1.6913
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/osquery/files/patch-boost-1.69 b/sysutils/osquery/files/patch-boost-1.69
new file mode 100644
index 000000000000..ce2f9b0259a6
--- /dev/null
+++ b/sysutils/osquery/files/patch-boost-1.69
@@ -0,0 +1,13 @@
+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>
+