slackbuilds_ponce/system/sysdig/0.11.0-do-not-use-private-jq-api.patch
Larry Hajali b466c46292
system/sysdig: Updated for version 0.11.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
2016-08-20 07:51:32 +07:00

31 lines
803 B
Diff

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>