Merge pull request #1965 from pullmoll/libsigsegv
libsigsegv: unbreak arm*-musl
This commit is contained in:
commit
317dfa47f9
1 changed files with 13 additions and 2 deletions
|
@ -2,16 +2,27 @@
|
||||||
|
|
||||||
pkgname="libsigsegv"
|
pkgname="libsigsegv"
|
||||||
version="2.10"
|
version="2.10"
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Handling page faults in user mode"
|
short_desc="Handling page faults in user mode"
|
||||||
maintainer="Martin Riese <grauehaare@gmx.de>"
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
||||||
license="GPL"
|
license="GPL-2"
|
||||||
homepage="http://www.gnu.org/software/libsigsegv/"
|
homepage="http://www.gnu.org/software/libsigsegv/"
|
||||||
distfiles="http://ftpmirror.gnu.org/libsigsegv/libsigsegv-${version}.tar.gz"
|
distfiles="http://ftpmirror.gnu.org/libsigsegv/libsigsegv-${version}.tar.gz"
|
||||||
checksum="8460a4a3dd4954c3d96d7a4f5dd5bc4d9b76f5754196aa245287553b26d2199a"
|
checksum="8460a4a3dd4954c3d96d7a4f5dd5bc4d9b76f5754196aa245287553b26d2199a"
|
||||||
configure_args="--enable-shared"
|
configure_args="--enable-shared"
|
||||||
|
|
||||||
|
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 <asm/sigcontext.h>;;" \
|
||||||
|
-i ${wrksrc}/src/fault-linux-arm-old.h
|
||||||
|
esac
|
||||||
|
}
|
||||||
libsigsegv-devel_package() {
|
libsigsegv-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue