summaryrefslogtreecommitdiff
path: root/sysutils/lttng-ust/files/patch-src_common_elf.h
diff options
context:
space:
mode:
authorSean Champ <lab+bsd@thinkum.space>2023-10-29 11:58:34 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-10-29 23:53:30 +0100
commit339c2277cfc84002238b7529866ae96971124b90 (patch)
treeb86e76387af586079d38bd07b3aaf4783dada534 /sysutils/lttng-ust/files/patch-src_common_elf.h
parentsysutils/lttng-tools: Mark DEPRECATED (diff)
sysutils/lttng-ust: Update version 2.9.0=>2.13.2
Some of the patches retained here may be out of scope now, such as those patches still adding a definition for NT_GNU_BUILD_ID. Changelog: https://git.lttng.org/?p=lttng-ust.git;a=blob_plain;f=ChangeLog;hb=ac8d9a90b1e9052d2dea77e0b0c92b779bceb4a8 PR: 263112
Diffstat (limited to 'sysutils/lttng-ust/files/patch-src_common_elf.h')
-rw-r--r--sysutils/lttng-ust/files/patch-src_common_elf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/lttng-ust/files/patch-src_common_elf.h b/sysutils/lttng-ust/files/patch-src_common_elf.h
new file mode 100644
index 000000000000..09ddb735a196
--- /dev/null
+++ b/sysutils/lttng-ust/files/patch-src_common_elf.h
@@ -0,0 +1,14 @@
+--- src/common/elf.h.orig 2022-03-25 15:37:17 UTC
++++ src/common/elf.h
+@@ -10,6 +10,11 @@
+ #include <stdlib.h>
+ #include <stdint.h>
+ #include <stdio.h>
++#if defined(__FreeBSD__)
++#include <sys/types.h>
++#include <sys/endian.h>
++#define NT_GNU_BUILD_ID 3
++#endif
+ #include <elf.h>
+
+ #include <lttng/ust-endian.h>