From 90429e00c0fae7f6028670ac1f22b0a78bb08567 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 18 Sep 2020 11:33:44 -0400 Subject: [PATCH] gperftools: update to 2.8. --- srcpkgs/gperftools/patches/musl-loff_t.patch | 10 ------- .../gperftools/patches/musl-malloc_hook.patch | 27 ------------------- srcpkgs/gperftools/template | 8 +++--- 3 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 srcpkgs/gperftools/patches/musl-loff_t.patch delete mode 100644 srcpkgs/gperftools/patches/musl-malloc_hook.patch diff --git a/srcpkgs/gperftools/patches/musl-loff_t.patch b/srcpkgs/gperftools/patches/musl-loff_t.patch deleted file mode 100644 index d96c06111cd..00000000000 --- a/srcpkgs/gperftools/patches/musl-loff_t.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/base/linux_syscall_support.h 2015-08-26 17:57:39.688753425 +0200 -+++ src/base/linux_syscall_support.h 2015-08-26 17:59:25.779755656 +0200 -@@ -157,6 +157,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/srcpkgs/gperftools/patches/musl-malloc_hook.patch b/srcpkgs/gperftools/patches/musl-malloc_hook.patch deleted file mode 100644 index eac6dddb57d..00000000000 --- a/srcpkgs/gperftools/patches/musl-malloc_hook.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- src/malloc_hook_mmap_linux.h 2015-08-26 17:40:38.296731949 +0200 -+++ src/malloc_hook_mmap_linux.h 2015-08-26 17:40:10.768731370 +0200 -@@ -40,6 +40,7 @@ - # error Should only be including malloc_hook_mmap_linux.h on linux systems. - #endif - -+#include - #include - #include - #include -@@ -135,6 +135,7 @@ - - // Make sure mmap doesn't get #define'd away by - # undef mmap -+# undef mmap64 - - extern "C" { - void* mmap64(void *start, size_t length, int prot, int flags, -@@ -202,7 +203,7 @@ - return result; - } - --#ifndef __UCLIBC__ -+#if defined(__GLIBC__) - // libc's version: - extern "C" void* __sbrk(ptrdiff_t increment); - diff --git a/srcpkgs/gperftools/template b/srcpkgs/gperftools/template index 4805b244030..4d33ff78ed2 100644 --- a/srcpkgs/gperftools/template +++ b/srcpkgs/gperftools/template @@ -1,7 +1,7 @@ # Template file for 'gperftools' pkgname=gperftools -version=2.7 -revision=3 +version=2.8 +revision=1 build_style=gnu-configure hostmakedepends="automake libtool" makedepends="libunwind-devel" @@ -10,8 +10,8 @@ short_desc="Multi-threaded malloc() and performance analysis tools" maintainer="Enno Boland " license="BSD-3-Clause" homepage="https://github.com/gperftools/gperftools" -distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz" -checksum=1ee8c8699a0eff6b6a203e59b43330536b22bbcbe6448f54c7091e5efb0763c9 +distfiles="${homepage}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz" +checksum=240deacdd628b6459671b83eb0c4db8e97baadf659f25b92e9a078d536bd513e if [ "$XBPS_TARGET_LIBC" = "musl" ]; then # needed by some newly enabled code