From 8dd145f3d08307e60bf26d218781bb23cb8d810f Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 28 May 2015 13:34:40 +0200 Subject: [PATCH] crash: update to 7.1.1. --- srcpkgs/crash/files/gdb-linux_nat.patch | 30 +++++++++++++++++++++++++ srcpkgs/crash/template | 6 ++--- 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/crash/files/gdb-linux_nat.patch diff --git a/srcpkgs/crash/files/gdb-linux_nat.patch b/srcpkgs/crash/files/gdb-linux_nat.patch new file mode 100644 index 0000000000..f91e16f2c3 --- /dev/null +++ b/srcpkgs/crash/files/gdb-linux_nat.patch @@ -0,0 +1,30 @@ +the first chunk fixes build errors, +the non_stop part below fixes thread debugging being available +by default without setting any breakpoints or usage of libthread_db. + +--- gdb-7.4.org/gdb/linux-nat.c 2013-08-10 05:24:24.651000003 +0000 ++++ gdb-7.4/gdb/linux-nat.c 2013-08-10 05:25:50.966000003 +0000 +@@ -71,6 +71,14 @@ + # endif + #endif /* HAVE_PERSONALITY */ + ++#ifndef __SIGRTMIN ++#define __SIGRTMIN SIGRTMIN ++#endif ++ ++#ifndef W_STOPCODE ++#define W_STOPCODE(sig) ((sig) << 8 | 0x7f) ++#endif ++ + /* This comment documents high-level logic of this file. + + Waiting for events in sync mode +@@ -2265,7 +2273,7 @@ + status = 0; + } + +- if (non_stop) ++ if (1) + { + /* Add the new thread to GDB's lists as soon as possible + so that: diff --git a/srcpkgs/crash/template b/srcpkgs/crash/template index 8647b20845..4a6f0a2bd6 100644 --- a/srcpkgs/crash/template +++ b/srcpkgs/crash/template @@ -1,7 +1,7 @@ # Template file for 'crash' pkgname=crash -version=7.1.0 -revision=4 +version=7.1.1 +revision=1 build_style=gnu-makefile hostmakedepends="flex" makedepends="ncurses-devel zlib-devel lzo-devel" @@ -10,7 +10,7 @@ maintainer="Christian Neukirchen " license="GPL-3" homepage="http://people.redhat.com/anderson/" distfiles="http://people.redhat.com/anderson/${pkgname}-${version}.tar.gz" -checksum=12e17267985ad1339b5da931143d4997fa4dafb82027d5664d4b7826175a21ec +checksum=ff5d7a2ecc7bc675e1cd08d3460dd2c6998ef13fb222d86cd10905ade2f2f116 nocross=yes post_extract() {