commit:     497bde980a8c81767fd0dad77db3b6918a3aa8d4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  5 21:15:45 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  5 21:15:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=497bde98

net-libs/libtrace: don't strip BPF

Just like in DTrace.

Closes: https://bugs.gentoo.org/856493
Closes: https://bugs.gentoo.org/956760
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libtrace/libtrace-4.0.28.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net-libs/libtrace/libtrace-4.0.28.ebuild 
b/net-libs/libtrace/libtrace-4.0.28.ebuild
index e50efac5eb3a..fa8398c11a0e 100644
--- a/net-libs/libtrace/libtrace-4.0.28.ebuild
+++ b/net-libs/libtrace/libtrace-4.0.28.ebuild
@@ -33,6 +33,10 @@ BDEPEND="
        app-alternatives/yacc
 "
 
+QA_EXECSTACK="
+       usr/share/libtrace/format_linux_xdp_kern.bpf
+"
+
 src_prepare() {
        default
 
@@ -60,6 +64,9 @@ src_configure() {
 src_install() {
        default
 
+       # BPF
+       dostrip -x /usr/share/libtrace/format_linux_xdp_kern.bpf
+
        if use doc ; then
                docinto html
                dodoc -r docs/doxygen/html

Reply via email to