[packages/systemtap] - fix ELF offset type
qboosh
qboosh at pld-linux.org
Sat Sep 19 19:19:52 CEST 2026
commit d9ece88c4c0f40da517479ee6e012c35f94dcbb3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 19 19:20:01 2026 +0200
- fix ELF offset type
systemtap-types.patch | 11 +++++++++++
systemtap.spec | 10 ++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/systemtap.spec b/systemtap.spec
index 77aa676..1ddfee1 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -33,6 +33,7 @@ Patch0: %{name}-dyninst.patch
Patch1: %{name}-systemd.patch
Patch2: %{name}-staprun-version-flush.patch
Patch3: %{name}-onboot-slog.patch
+Patch4: %{name}-types.patch
URL: https://sourceware.org/systemtap/
BuildRequires: autoconf >= 2.71
BuildRequires: automake
@@ -324,10 +325,11 @@ Przewodniki i dokumentacja wprowadzająca do SystemTap.
%prep
%setup -q
-%patch -P 0 -p1
-%patch -P 1 -p1
-%patch -P 2 -p1
-%patch -P 3 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python3}\1,' \
testsuite/systemtap.examples/general/pyexample.py
diff --git a/systemtap-types.patch b/systemtap-types.patch
new file mode 100644
index 0000000..e646bba
--- /dev/null
+++ b/systemtap-types.patch
@@ -0,0 +1,11 @@
+--- systemtap-5.6/stapdyn/dynubacktrace.cxx.orig 2026-09-17 22:47:56.000000000 +0200
++++ systemtap-5.6/stapdyn/dynubacktrace.cxx 2026-09-19 19:02:28.476343401 +0200
+@@ -44,7 +44,7 @@ struct dwfl_sym_info {
+ string mod;
+ string file;
+ int line;
+- unsigned long funcoff;
++ GElf_Off funcoff;
+ unsigned long funcsize;
+ dwfl_sym_info(): line(0), funcoff(0), funcsize(0) {}
+ };
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemtap.git/commitdiff/d9ece88c4c0f40da517479ee6e012c35f94dcbb3
More information about the pld-cvs-commit
mailing list