crash: update to 7.2.2.

Closes #14476.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-05-16 21:10:48 -03:00 committed by Enno Boland
parent 017eb52660
commit 41e777140b
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 7 additions and 4 deletions

View File

@ -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 <leah@vuxu.org>"
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