libsigsegv: update to 2.14.

This commit is contained in:
John 2023-04-09 13:53:57 +02:00 committed by John Zimmermann
parent c8583d0e51
commit 20fa3092a7

View file

@ -1,24 +1,24 @@
# Template file for 'libsigsegv'
pkgname=libsigsegv
version=2.12
version=2.14
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
short_desc="Handling page faults in user mode"
maintainer="Martin Riese <grauehaare@gmx.de>"
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=cdac3941803364cf81a908499beb79c200ead60b6b5b40cad124fd1e06caa295
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;" \
vsed -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 <asm/sigcontext.h>;;" \
vsed -e "s;#include <asm/sigcontext.h>;;" \
-i ${wrksrc}/src/fault-linux-arm-old.h
;;
esac