From 7d68aecc77667ac56d9560899e3c8e5955018912 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 15 Feb 2024 20:01:09 -0500 Subject: [PATCH] sysdig: rebuild for protobuf, grpc --- srcpkgs/sysdig/patches/gcc13.patch | 19 +++++++++++++++++++ .../patches/libsinsp-absl-protobuf.patch | 6 ++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/sysdig/patches/gcc13.patch diff --git a/srcpkgs/sysdig/patches/gcc13.patch b/srcpkgs/sysdig/patches/gcc13.patch new file mode 100644 index 00000000000..d6997b73057 --- /dev/null +++ b/srcpkgs/sysdig/patches/gcc13.patch @@ -0,0 +1,19 @@ +--- a/.xbps-falco/userspace/libsinsp/procfs_utils.h ++++ b/.xbps-falco/userspace/libsinsp/procfs_utils.h +@@ -1,5 +1,6 @@ + #pragma once + ++#include + #include + #include + +--- a/.xbps-falco/userspace/libsinsp/sinsp_exception.h ++++ b/.xbps-falco/userspace/libsinsp/sinsp_exception.h +@@ -16,6 +16,7 @@ + */ + #pragma once + ++#include + #include + #include + diff --git a/srcpkgs/sysdig/patches/libsinsp-absl-protobuf.patch b/srcpkgs/sysdig/patches/libsinsp-absl-protobuf.patch index fef52a10a34..b36de5106f7 100644 --- a/srcpkgs/sysdig/patches/libsinsp-absl-protobuf.patch +++ b/srcpkgs/sysdig/patches/libsinsp-absl-protobuf.patch @@ -18,12 +18,14 @@ if(NOT MUSL_OPTIMIZED_BUILD) list(APPEND SINSP_LIBRARIES -@@ -301,7 +303,7 @@ else() +@@ -301,7 +303,9 @@ else() endif() endif() # NOT WIN32 - -+LIST(APPEND SINSP_LIBRARIES absl_log_internal_message absl_log_internal_nullguard) ++LIST(APPEND SINSP_LIBRARIES ++ absl_log_internal_message absl_log_internal_nullguard ++ absl_hash absl_synchronization absl_cord absl_cordz_info absl_cordz_functions) target_link_libraries(sinsp ${SINSP_LIBRARIES}) if(APPLE)