summary refs log tree commit diff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-07-31 12:52:38 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-07-31 12:57:34 +0200
commitc55acb073248392b1387017378f36a1d378fa7c4 (patch)
treecbf5dc70483e3acc932d66d968209ce0b0fb3963 /gnu/packages/patches
parent636d573b7496d2b03670dd9db98b464141761fc6 (diff)
downloadguix-c55acb073248392b1387017378f36a1d378fa7c4.tar.gz
gnu: Add bpftrace.
* gnu/packages/linux.scm (bpftrace): New variable.
* gnu/packages/patches/bpftrace-disable-bfd-disasm.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/bpftrace-disable-bfd-disasm.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/bpftrace-disable-bfd-disasm.patch b/gnu/packages/patches/bpftrace-disable-bfd-disasm.patch
new file mode 100644
index 0000000000..8565d8d851
--- /dev/null
+++ b/gnu/packages/patches/bpftrace-disable-bfd-disasm.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e89a6a9..a594786 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -126,10 +126,6 @@ find_package(LibBpf)
+ find_package(LibBfd)
+ find_package(LibOpcodes)
+ 
+-if(${LIBBFD_FOUND} AND ${LIBOPCODES_FOUND})
+-  set(HAVE_BFD_DISASM TRUE)
+-endif()
+-
+ include(CheckIncludeFile)
+ check_include_file("sys/sdt.h" HAVE_SYSTEMTAP_SYS_SDT_H)
+