From 41e777140bf6275acb544aa5ae10b0c2b4f1e993 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 16 May 2018 21:10:48 -0300 Subject: [PATCH] crash: update to 7.2.2. Closes #14476. Signed-off-by: Enno Boland --- srcpkgs/crash/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/crash/template b/srcpkgs/crash/template index 851976d34ad..f0c75840894 100644 --- a/srcpkgs/crash/template +++ b/srcpkgs/crash/template @@ -1,16 +1,17 @@ # Template file for 'crash' pkgname=crash -version=7.2.1 +version=7.2.2 revision=1 build_style=gnu-makefile hostmakedepends="flex" -makedepends="ncurses-devel zlib-devel lzo-devel" +makedepends="lzo-devel ncurses-devel zlib-devel" short_desc="Kernel crash dump debugger and live inspector" maintainer="Leah Neukirchen " -license="GPL-3" +license="GPL-3.0-or-later" homepage="http://people.redhat.com/anderson/" +#changelog="https://people.redhat.com/anderson/crash.changelog.html" distfiles="http://people.redhat.com/anderson/${pkgname}-${version}.tar.gz" -checksum=6510da25db7ad2f49fd2a8bce7b5939ecb561152767423deaa22873e242413a3 +checksum=f4d46048f7aa68a46db996daff02faa3417e2ac2efe6674c304d52e5e45993ea only_for_archs="i686 x86_64" # broken on musl nocross=yes LDFLAGS=-llzo2 @@ -25,6 +26,7 @@ post_extract() { sed -i 's|/boot/efi/redhat|/usr/lib/debug/boot/|g' filesys.c sed -i '/^LDFLAGS=/d' Makefile } + do_build() { make gdb_unzip sed -i 's|sys/debugreg.h|asm/debugreg.h|g' gdb-7.6/gdb/amd64-linux-nat.c @@ -33,6 +35,7 @@ do_build() { make ${makejobs} lzo make ${makejobs} extensions } + do_install() { vbin crash vman crash.8