pahole: update to 1.18.
This commit is contained in:
parent
92976fea1c
commit
5449919bc2
2 changed files with 21 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
||||||
--- dwarves.c.orig
|
diff --git dwarves.c dwarves.c
|
||||||
|
index 8cb359f..98b8b6b 100644
|
||||||
|
--- dwarves.c
|
||||||
+++ dwarves.c
|
+++ dwarves.c
|
||||||
@@ -24,6 +24,7 @@
|
@@ -22,6 +22,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
@ -8,3 +10,15 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
diff --git pahole.c pahole.c
|
||||||
|
index dac7a49..15c0c29 100644
|
||||||
|
--- pahole.c
|
||||||
|
+++ pahole.c
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
#include <assert.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <dwarf.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
#include <search.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'pahole'
|
# Template file for 'pahole'
|
||||||
pkgname=pahole
|
pkgname=pahole
|
||||||
version=1.17
|
version=1.18
|
||||||
revision=3
|
revision=1
|
||||||
_bpfver=0.0.7
|
_bpfver=0.1.1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-D__LIB=lib"
|
configure_args="-D__LIB=lib"
|
||||||
makedepends="elfutils-devel zlib-devel"
|
makedepends="elfutils-devel zlib-devel"
|
||||||
|
@ -12,8 +12,8 @@ license="GPL-2.0-only"
|
||||||
homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
|
homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
|
||||||
distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
|
distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
|
||||||
https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
|
https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
|
||||||
checksum="51e35041ce43ed08922037a1ee9e415aff1590e0d8d7cbe3e2b003f388db0a8a
|
checksum="bb436a4b5e856c8963b1ea52260da064dc985f6e3832b29adec094422365a5a7
|
||||||
a616ba2ea72d00b4022689b17f4a78365379e3040d0f1a66d28eba52c528e480"
|
3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598"
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
*-musl) makedepends+=" musl-obstack-devel argp-standalone"
|
*-musl) makedepends+=" musl-obstack-devel argp-standalone"
|
||||||
|
|
Loading…
Reference in a new issue