From e5b1706c98962ec402bf046014ef0d30fe9db5cc Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 12 Oct 2019 17:57:38 +0200 Subject: [PATCH] papi: update to 5.7.0. --- srcpkgs/papi/patches/gnu_source.patch | 12 ++++++++++++ srcpkgs/papi/template | 7 ++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/papi/patches/gnu_source.patch diff --git a/srcpkgs/papi/patches/gnu_source.patch b/srcpkgs/papi/patches/gnu_source.patch new file mode 100644 index 00000000000..eed88b43d3f --- /dev/null +++ b/srcpkgs/papi/patches/gnu_source.patch @@ -0,0 +1,12 @@ +--- src/components/perf_event/tests/perf_event_system_wide.c.orig 2019-10-12 17:48:40.217216625 +0200 ++++ src/components/perf_event/tests/perf_event_system_wide.c 2019-10-12 17:49:48.246645644 +0200 +@@ -15,6 +15,9 @@ + #define __USE_GNU + #endif + ++/* For cpu_set_t */ ++#define _GNU_SOURCE ++ + /* For sched_setaffinity() */ + #include + diff --git a/srcpkgs/papi/template b/srcpkgs/papi/template index 297c00f683e..239cd5c34f0 100644 --- a/srcpkgs/papi/template +++ b/srcpkgs/papi/template @@ -1,16 +1,16 @@ # Template file for 'papi' pkgname=papi -version=5.6.0 +version=5.7.0 revision=1 wrksrc="papi-${version}" build_wrksrc="src" build_style=gnu-configure short_desc="Provides interface for use of performance counter hardware" maintainer="johannes " -license="BSD" +license="BSD-3-Clause" homepage="http://icl.cs.utk.edu/papi/" distfiles="http://icl.utk.edu/projects/papi/downloads/papi-${version}.tar.gz" -checksum=49b7293f9ca2d74d6d80bd06b5c4be303663123267b4ac0884cbcae4c914dc47 +checksum=d1a3bb848e292c805bc9f29e09c27870e2ff4cda6c2fba3b7da8b4bba6547589 if [ -n "$CROSS_BUILD" ]; then _ARCH="${XBPS_TARGET_MACHINE%-musl}" @@ -29,6 +29,7 @@ papi-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/*.a + vmove usr/lib/*.so vmove usr/lib/pkgconfig vmove usr/share/man/man3 }