[packages/libipt] up to 2.2, drop obsolete patch

arekm arekm at pld-linux.org
Tue Aug 18 16:07:17 CEST 2026


commit 58575743701e85e8634a359fb154fe3f7c26bdc5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Aug 18 16:02:22 2026 +0200

    up to 2.2, drop obsolete patch

 libipt-intel-xed.patch | 13 -------------
 libipt.spec            | 10 +++-------
 2 files changed, 3 insertions(+), 20 deletions(-)
---
diff --git a/libipt.spec b/libipt.spec
index 3195023..5a91636 100644
--- a/libipt.spec
+++ b/libipt.spec
@@ -7,15 +7,14 @@
 Summary:	Intel Processor Trace Decoder Library
 Summary(pl.UTF-8):	Biblioteka dekodera Intel PT (śladów procesora Intel)
 Name:		libipt
-Version:	2.1
+Version:	2.2
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/intel/libipt/tags
 Source0:	https://github.com/intel/libipt/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	064e0d369bd30f78ec771a10c88a71ef
+# Source0-md5:	e5edbea6310540ceebe25c8e2ebb99b9
 Patch0:		%{name}-uninitialized.patch
-Patch1:		%{name}-intel-xed.patch
 URL:		https://github.com/intel/libipt
 BuildRequires:	cmake >= 3.1
 %{?with_xed:BuildRequires:	intel-xed-devel}
@@ -66,7 +65,6 @@ Narzędzia Intel PT.
 %prep
 %setup -q
 %patch -P0 -p1
-%patch -P1 -p1
 
 %build
 install -d build
@@ -89,9 +87,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# not installed by cmake
-cp -a build/lib/libipt-sb.so* $RPM_BUILD_ROOT%{_libdir}
-
 install -d $RPM_BUILD_ROOT%{_bindir}
 install build/bin/ptdump $RPM_BUILD_ROOT%{_bindir}
 %if %{with xed}
@@ -118,6 +113,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libipt.so
 %attr(755,root,root) %{_libdir}/libipt-sb.so
 %{_includedir}/intel-pt.h
+%{_includedir}/libipt-sb.h
 %if %{with ghc}
 %{_mandir}/man3/pt_*.3*
 %endif
diff --git a/libipt-intel-xed.patch b/libipt-intel-xed.patch
deleted file mode 100644
index c69257c..0000000
--- a/libipt-intel-xed.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Adjust for intel-xed 2023.12.19, which replaces SYSCALL_AMD iclass with SYSCALL_32 by "fred" instruction set
---- libipt-2.1/ptxed/src/ptxed.c.orig	2023-10-12 09:39:11.000000000 +0200
-+++ libipt-2.1/ptxed/src/ptxed.c	2024-01-10 20:19:27.212066096 +0100
-@@ -48,6 +48,9 @@
- 
- #include <xed-interface.h>
- 
-+#if !defined(XED_ICLASS_SYSCALL_AMD_DEFINED) && defined(XED_ICLASS_SYSCALL_32_DEFINED)
-+#  define XED_ICLASS_SYSCALL_AMD XED_ICLASS_SYSCALL_32
-+#endif
- 
- /* The type of decoder to be used. */
- enum ptxed_decoder_type {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libipt.git/commitdiff/58575743701e85e8634a359fb154fe3f7c26bdc5



More information about the pld-cvs-commit mailing list