[papi] Use siginfo_t rather than struct siginfo.
William Eden Cohen
wcohen at fedoraproject.org
Mon Jun 11 19:52:55 UTC 2012
commit beb3c794019d4580db1a7958978764dfa7cc1a8c
Author: William Cohen <wcohen at redhat.com>
Date: Mon Jun 11 15:52:18 2012 -0400
Use siginfo_t rather than struct siginfo.
papi-siginfo.patch | 12 ++++++++++++
papi.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/papi-siginfo.patch b/papi-siginfo.patch
new file mode 100644
index 0000000..a9a57d8
--- /dev/null
+++ b/papi-siginfo.patch
@@ -0,0 +1,12 @@
+diff -up papi-4.4.0/src/linux-context.h.siginfo papi-4.4.0/src/linux-context.h
+--- papi-4.4.0/src/linux-context.h.siginfo 2012-06-11 15:40:00.389999991 -0400
++++ papi-4.4.0/src/linux-context.h 2012-06-11 15:40:12.423000001 -0400
+@@ -4,7 +4,7 @@
+ /* Signal handling functions */
+
+ #undef hwd_siginfo_t
+-typedef struct siginfo hwd_siginfo_t;
++typedef siginfo_t hwd_siginfo_t;
+
+ #undef hwd_ucontext_t
+ typedef ucontext_t hwd_ucontext_t;
diff --git a/papi.spec b/papi.spec
index d0976c5..1f83c90 100644
--- a/papi.spec
+++ b/papi.spec
@@ -2,11 +2,12 @@
Summary: Performance Application Programming Interface
Name: papi
Version: 4.4.0
-Release: 3%{?dist}
+Release: 4%{?dist}
License: BSD
Group: Development/System
URL: http://icl.cs.utk.edu/papi/
Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
+Patch1: papi-siginfo.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: ncurses-devel
BuildRequires: gcc-gfortran
@@ -47,6 +48,7 @@ the PAPI user-space libraries and interfaces.
%prep
%setup -q
+%patch1 -p1
%build
%if %{without bundled_libpfm}
@@ -109,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%changelog
+* Mon Jun 11 2012 William Cohen <wcohen at redhat.com> - 4.4.0-4
+- Use siginfo_t rather than struct siginfo.
+
* Mon Jun 11 2012 William Cohen <wcohen at redhat.com> - 4.4.0-3
- Correct build requires.
More information about the scm-commits
mailing list