Use siginfo_t rather than struct siginfo.
This commit is contained in:
parent
6c3841076d
commit
beb3c79401
12
papi-siginfo.patch
Normal file
12
papi-siginfo.patch
Normal file
@ -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;
|
@ -2,11 +2,12 @@
|
|||||||
Summary: Performance Application Programming Interface
|
Summary: Performance Application Programming Interface
|
||||||
Name: papi
|
Name: papi
|
||||||
Version: 4.4.0
|
Version: 4.4.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
URL: http://icl.cs.utk.edu/papi/
|
URL: http://icl.cs.utk.edu/papi/
|
||||||
Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
Source0: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: papi-siginfo.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
@ -47,6 +48,7 @@ the PAPI user-space libraries and interfaces.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{without bundled_libpfm}
|
%if %{without bundled_libpfm}
|
||||||
@ -109,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 11 2012 William Cohen <wcohen@redhat.com> - 4.4.0-4
|
||||||
|
- Use siginfo_t rather than struct siginfo.
|
||||||
|
|
||||||
* Mon Jun 11 2012 William Cohen <wcohen@redhat.com> - 4.4.0-3
|
* Mon Jun 11 2012 William Cohen <wcohen@redhat.com> - 4.4.0-3
|
||||||
- Correct build requires.
|
- Correct build requires.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user