freebsd-ports/sysutils/lttng-ust/files/patch-src_common_elf.h
Sean Champ 339c2277cf 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
2023-10-29 23:53:30 +01:00

14 lines
313 B
C

--- 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>