From 51768c007e5956a2cb5a8feaf1497731a1a42af3 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 22 Apr 2021 07:56:31 +0200 Subject: [PATCH] libsigsegv: update to 2.13. * fix xlint, move configure_args up * fix xlint, make license spdx compatible --- srcpkgs/libsigsegv/template | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/srcpkgs/libsigsegv/template b/srcpkgs/libsigsegv/template index 13352c58bc46..0a1a5f5248fe 100644 --- a/srcpkgs/libsigsegv/template +++ b/srcpkgs/libsigsegv/template @@ -1,28 +1,16 @@ # Template file for 'libsigsegv' pkgname=libsigsegv -version=2.12 +version=2.13 revision=1 build_style=gnu-configure +configure_args="--enable-shared" short_desc="Handling page faults in user mode" maintainer="Martin Riese " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://www.gnu.org/software/libsigsegv/" distfiles="https://ftpmirror.gnu.org/libsigsegv/libsigsegv-${version}.tar.gz" -checksum=3ae1af359eebaa4ffc5896a1aee3568c052c99879316a1ab57f8fe1789c390b6 -configure_args="--enable-shared" +checksum=be78ee4176b05f7c75ff03298d84874db90f4b6c9d5503f0da1226b3a3c48119 -post_configure() { - case "$XBPS_TARGET_MACHINE" in - arm*-musl) - # Avoid double include of signal.h - sed -e "s;#define HAVE_SYS_SIGNAL_H 1;#undef HAVE_SYS_SIGNAL_H;" \ - -i ${wrksrc}/config.h - # struct sigcontext already defined through sigsegv.h - sed -e "s;#include ;;" \ - -i ${wrksrc}/src/fault-linux-arm-old.h - ;; - esac -} libsigsegv-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"