From be4cdeb83a33b9fc4a2b258f9041843624c5553a Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 20 Dec 2020 14:42:27 +0100 Subject: [PATCH] Revert "libucontext: update to 0.13.1" This reverts commit 042d921f6e02932122fa9c330065e365a23db869. @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 https://github.com/kaniini/libucontext/commit/99ed5bbe12cb04c8918514a9f32e4908e06b423d --- srcpkgs/libucontext/template | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/srcpkgs/libucontext/template b/srcpkgs/libucontext/template index b39ca94a09d..be891eb6f42 100644 --- a/srcpkgs/libucontext/template +++ b/srcpkgs/libucontext/template @@ -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 " 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 } }