diff options
author | Larry Hajali <larryhaja@gmail.com> | 2016-08-14 11:38:27 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-20 07:51:32 +0700 |
commit | b466c46292da79c42216919e2269fde2d944611c (patch) | |
tree | 3991ff286641d4fdbbdb3246a6451aaef8c99870 /system/sysdig/0.11.0-do-not-use-private-jq-api.patch | |
parent | 62217ef9174a4d6d4666278ed8d3dfb303625148 (diff) |
system/sysdig: Updated for version 0.11.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'system/sysdig/0.11.0-do-not-use-private-jq-api.patch')
-rw-r--r-- | system/sysdig/0.11.0-do-not-use-private-jq-api.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/system/sysdig/0.11.0-do-not-use-private-jq-api.patch b/system/sysdig/0.11.0-do-not-use-private-jq-api.patch new file mode 100644 index 0000000000000..3b5602f13e110 --- /dev/null +++ b/system/sysdig/0.11.0-do-not-use-private-jq-api.patch @@ -0,0 +1,31 @@ +Only in sysdig-0.11.0.fix: build +diff -ru sysdig-0.11.0/userspace/libsinsp/json_query.h sysdig-0.11.0.fix/userspace/libsinsp/json_query.h +--- sysdig-0.11.0/userspace/libsinsp/json_query.h 2016-07-14 10:11:40.000000000 +0200 ++++ sysdig-0.11.0.fix/userspace/libsinsp/json_query.h 2016-07-21 21:50:23.582406170 +0200 +@@ -24,17 +24,9 @@ + // jq is not C++-friendly + extern "C" + { +- #include "compile.h" + #include "jv.h" + #include "jq.h" + //+++ jq C++ compile fixes +- #ifndef NDEBUG +- # define NDEBUG +- # include "jv_alloc.h" +- # undef NDEBUG +- #else +- # include "jv_alloc.h" +- #endif // NDEBUG + #ifndef HAVE_MKSTEMP + # include <stdlib.h> + # include <fcntl.h> +@@ -58,8 +50,6 @@ + } + # define HAVE_MKSTEMP + #endif // HAVE_MKSTEMP +- //--- jq C++ compile fix +- #include "util.h" + } + + #include <string> |