[packages/dyninst] - rel 4, fix system detection on x32
baggins
baggins at pld-linux.org
Thu Dec 19 01:48:49 CET 2024
commit 6f22ea3e9a678b2a757e9ef2bc92e6d6bf8947f2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Dec 18 23:52:04 2024 +0100
- rel 4, fix system detection on x32
dyninst-x32.patch | 11 +++++++++++
dyninst.spec | 10 +++++-----
2 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/dyninst.spec b/dyninst.spec
index 316412f..1a8e186 100644
--- a/dyninst.spec
+++ b/dyninst.spec
@@ -2,7 +2,7 @@ Summary: API for Run-time Code Generation
Summary(pl.UTF-8): API do generowania kodu w czasie działania
Name: dyninst
Version: 12.3.0
-Release: 3
+Release: 4
License: LGPL v2.1+
Group: Libraries
#Source0Download: https://github.com/dyninst/dyninst/releases
@@ -80,10 +80,10 @@ Statyczne biblioteki dyninst.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
+%patch -P 3 -p1
%build
export CXXFLAGS="%{rpmcxxflags} -DTBB_DEFINE_STD_HASH_SPECIALIZATIONS"
diff --git a/dyninst-x32.patch b/dyninst-x32.patch
index 3c0a873..9f740c6 100644
--- a/dyninst-x32.patch
+++ b/dyninst-x32.patch
@@ -9,3 +9,14 @@
__asm__("mov %%rbp, %0\n"
: "=r"(frame_pointer));
#elif defined(os_linux) || defined(os_freebsd)
+--- dyninst-12.3.0/scripts/sysname~ 2023-02-22 22:39:56.000000000 +0100
++++ dyninst-12.3.0/scripts/sysname 2024-12-18 23:38:23.746358396 +0100
+@@ -344,6 +344,8 @@
+ echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0
+ elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations: elf64_ia64"; then
+ echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
++ elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations: elf32_x86_64"; then
++ echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
+ elif echo $ld_help_string | grep >/dev/null 2>&1 "supported emulations: elf_x86_64"; then
+ echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
+ elif test "${UNAME_MACHINE}" = "alpha" ; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dyninst.git/commitdiff/6f22ea3e9a678b2a757e9ef2bc92e6d6bf8947f2
More information about the pld-cvs-commit
mailing list