pahole: update to 1.20.

This commit is contained in:
Andrew Benson 2021-02-05 08:32:20 -06:00 committed by Andrew Benson
parent 633bc47d0d
commit e3cf5b9526
2 changed files with 2 additions and 18 deletions

View File

@ -1,16 +0,0 @@
--- dtagnames.c.orig
+++ dtagnames.c
@@ -16,9 +16,13 @@
static void print_malloc_stats(void)
{
+#ifdef __GLIBC__
struct mallinfo m = mallinfo();
fprintf(stderr, "size: %u\n", m.uordblks);
+#else
+ fprintf(stderr, "malloc stats not available\n");
+#endif
}
static int class__tag_name(struct tag *tag, struct cu *cu __unused,

View File

@ -1,6 +1,6 @@
# Template file for 'pahole'
pkgname=pahole
version=1.19
version=1.20
revision=1
wrksrc="dwarves-${version}"
build_style=cmake
@ -11,7 +11,7 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-only"
homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz"
checksum=9af54663f2bab10d1ea85f97801c8fa045ff62e9b39d4ec6a8541354cb7b6ef3
checksum=a0dbda45ce83c0bf21eba78c44b4fd72560a970285fbb3e4f88375015aab6f06
case $XBPS_TARGET_MACHINE in
*-musl) makedepends+=" musl-obstack-devel argp-standalone"