[packages/crash] - up to 8.0.6

baggins baggins at pld-linux.org
Sat Dec 21 11:18:33 CET 2024


commit aaa79af414961654e3e7a1e8349f9fdfef7c2c0b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Dec 21 11:12:17 2024 +0100

    - up to 8.0.6
    
    Disable kaslr_helper on x32, that code is so horribly bad it's
    beyond fixing without correcting types in structures and APIs in
    the whole project.

 crash-x32.patch | 12 ++++++++++++
 crash.spec      |  8 ++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/crash.spec b/crash.spec
index 77106f4..815895f 100644
--- a/crash.spec
+++ b/crash.spec
@@ -25,12 +25,12 @@ exit 1
 Summary:	Core Analysis Suite
 Summary(pl.UTF-8):	Zestaw narzędzi do analizy zrzutów pamięci
 Name:		%{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
-Version:	8.0.5
+Version:	8.0.6
 Release:	%{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}}
 License:	GPL v2+
 Group:		Libraries
 Source0:	https://github.com/crash-utility/crash/archive/%{version}/%{pname}-%{version}.tar.gz
-# Source0-md5:	b1976b20980a179572bd4d709cc5f209
+# Source0-md5:	35af5c716130326ce5a706a5808605c7
 # git clone -b v5.0 https://github.com/lucchouina/eppic
 Source1:	eppic.tar.xz
 # Source1-md5:	a04143f6eb0d72c33cd53329dc1b4803
@@ -117,8 +117,8 @@ Ten pakiet zawiera sterownik pamięci /dev/crash do sesji crash na\
 
 %prep
 %setup -q -a1 -a2 -n %{pname}-%{version}
-%patch0 -p1
-%patch1 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
 
 %{__mv} eppic extensions
 
diff --git a/crash-x32.patch b/crash-x32.patch
index d44731d..a5c210c 100644
--- a/crash-x32.patch
+++ b/crash-x32.patch
@@ -1,3 +1,15 @@
+--- crash-8.0.6/kaslr_helper.c.orig	2024-12-21 10:58:09.189999980 +0100
++++ crash-8.0.6/kaslr_helper.c	2024-12-21 11:07:16.553333377 +0100
+@@ -23,7 +23,8 @@
+ #include <elf.h>
+ #include <inttypes.h>
+ 
+-#ifdef X86_64
++#if defined(X86_64) && defined(__LP64__)
++
+ /*
+  * Get address of vector0 interrupt handler (Devide Error) from Interrupt
+  * Descriptor Table.
 --- crash-7.1.3/unwind_x86_64.h.orig	2015-09-02 21:38:32.000000000 +0200
 +++ crash-7.1.3/unwind_x86_64.h	2015-10-24 14:57:49.632888183 +0200
 @@ -10,10 +10,14 @@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crash.git/commitdiff/aaa79af414961654e3e7a1e8349f9fdfef7c2c0b



More information about the pld-cvs-commit mailing list