Replace usage of "struct siginfo" with "siginfo_t".
This commit is contained in:
parent
676b55a4e3
commit
15f2c5b0c7
@ -14,6 +14,7 @@ ExclusiveArch: %{ix86} ia64 x86_64 ppc64 s390 s390x %{arm}
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
||||
BuildRequires: ncurses-devel zlib-devel
|
||||
Requires: binutils
|
||||
Patch0: struct_siginfo_to_siginfo_t.patch
|
||||
|
||||
%description
|
||||
The core analysis suite is a self-contained tool that can be used to
|
||||
@ -34,6 +35,7 @@ offered by Mission Critical Linux, or the LKCD kernel patch.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version} -q
|
||||
%patch0 -p1 -b struct_siginfo_to_siginfo_t.patch
|
||||
|
||||
%build
|
||||
make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}"
|
||||
@ -63,7 +65,8 @@ rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* Mon Jul 1 2012 Dave Anderson <anderson@redhat.com> - 6.0.8-1
|
||||
- Update to latest upstream release
|
||||
- Update to latest upstream release.
|
||||
- Replace usage of "struct siginfo" with "siginfo_t".
|
||||
|
||||
* Mon Apr 30 2012 Dave Anderson <anderson@redhat.com> - 6.0.6-1
|
||||
- Update to latest upstream release
|
||||
|
17
struct_siginfo_to_siginfo_t.patch
Normal file
17
struct_siginfo_to_siginfo_t.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- crash-6.0.8/gdb-7.3.1.patch.orig
|
||||
+++ crash-6.0.8/gdb-7.3.1.patch
|
||||
@@ -1526,3 +1526,14 @@ diff -up gdb-7.3.1/gdb/psymtab.c.orig gd
|
||||
+ return NULL;
|
||||
+}
|
||||
#endif
|
||||
+--- gdb-7.3.1/gdb/linux-nat.h.orig
|
||||
++++ gdb-7.3.1/gdb/linux-nat.h
|
||||
+@@ -60,7 +60,7 @@ struct lwp_info
|
||||
+
|
||||
+ /* Non-zero si_signo if this LWP stopped with a trap. si_addr may
|
||||
+ be the address of a hardware watchpoint. */
|
||||
+- struct siginfo siginfo;
|
||||
++ siginfo_t siginfo;
|
||||
+
|
||||
+ /* STOPPED_BY_WATCHPOINT is non-zero if this LWP stopped with a data
|
||||
+ watchpoint trap. */
|
Loading…
Reference in New Issue
Block a user