From d7e3e6f9816b56f746ae9a44ddf2fddf98c6f065 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Fri, 4 Dec 2020 16:38:14 -0600 Subject: [PATCH] pahole: update to 1.19. --- srcpkgs/pahole/template | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template index d254993205a..55ab5b5a960 100644 --- a/srcpkgs/pahole/template +++ b/srcpkgs/pahole/template @@ -1,8 +1,8 @@ # Template file for 'pahole' pkgname=pahole -version=1.18 +version=1.19 revision=1 -_bpfver=0.1.1 +wrksrc="dwarves-${version}" build_style=cmake configure_args="-D__LIB=lib" makedepends="elfutils-devel zlib-devel" @@ -10,20 +10,13 @@ short_desc="Various DWARF utils" maintainer="Andrew Benson " license="GPL-2.0-only" 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 - https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz" -checksum="bb436a4b5e856c8963b1ea52260da064dc985f6e3832b29adec094422365a5a7 - 3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598" +distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz" +checksum=9af54663f2bab10d1ea85f97801c8fa045ff62e9b39d4ec6a8541354cb7b6ef3 case $XBPS_TARGET_MACHINE in *-musl) makedepends+=" musl-obstack-devel argp-standalone" esac -pre_patch() { - rm -rf lib/bpf - mv "../libbpf-${_bpfver}/" "lib/bpf" -} - pre_configure() { case $XBPS_TARGET_MACHINE in *-musl) sed -i CMakeLists.txt -e "/^target_link_libraries/s/)/ obstack argp)/"