Revert "libucontext: update to 0.13.1"

This reverts commit 042d921f6e.

@pullmoll

Newer libucontext seems to break ABI, which results in lots of
things suddenly failing to build, e.g.

/usr/bin/ld: /lib64/libunwind.so.8: undefined reference to `__setcontext'
/usr/bin/ld: /usr/lib/libgstreamer-1.0.so: undefined reference to `__getcontext'
collect2: error: ld returned 1 exit status

I suspect because of

99ed5bbe12
This commit is contained in:
q66 2020-12-20 14:42:27 +01:00
parent b177b1f0d1
commit be4cdeb83a

View file

@ -1,17 +1,16 @@
# Template file for 'libucontext'
pkgname=libucontext
version=0.13.1
revision=1
reverts="0.13.1_1"
version=0.11
revision=2
archs="*-musl"
wrksrc="${pkgname}-${pkgname}-${version}"
make_build_args="all docs"
hostmakedepends="scdoc"
short_desc="Compatibility layer providing ucontext functions"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="ISC"
homepage="https://github.com/kaniini/libucontext"
distfiles="https://github.com/kaniini/libucontext/archive/${pkgname}-${version}.tar.gz"
checksum=5d3517d12f1a605713cfb94c1ceda89e399bf534a4a85c9ff356cc329e12e4c1
checksum=ec122a4bca8f75922082c4f4d81b09ff3e950906d7f5504e0bce367ec9a6fceb
case "${XBPS_TARGET_MACHINE}" in
arm*) export LIBUCONTEXT_ARCH="arm";;
@ -35,7 +34,6 @@ do_check() {
do_install() {
make ARCH="${LIBUCONTEXT_ARCH}" DESTDIR="${DESTDIR}/usr" install
make ARCH="${LIBUCONTEXT_ARCH}" DESTDIR="${DESTDIR}" install_docs
}
post_install() {
@ -48,6 +46,5 @@ libucontext-devel_package() {
pkg_install() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/man
}
}