From ad1aaa3f846967b501f2fae0db1dc9ce00958a05 Mon Sep 17 00:00:00 2001 From: Robin Voetter <robin@voetter.nl> Date: Sun, 8 Nov 2020 18:28:52 +0100 Subject: [PATCH] llvm-libunwind: update to 11.0.0 ssp_nonshared fix by q66 --- srcpkgs/llvm-libunwind/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/llvm-libunwind/template b/srcpkgs/llvm-libunwind/template index 6e20a791e65..62d88f61b4e 100644 --- a/srcpkgs/llvm-libunwind/template +++ b/srcpkgs/llvm-libunwind/template @@ -1,18 +1,26 @@ # Template file for 'llvm-libunwind' pkgname=llvm-libunwind -version=10.0.0 +version=11.0.0 revision=1 build_style=cmake wrksrc="libunwind-${version}.src" -hostmakedepends="llvm10" -makedepends="llvm10" +hostmakedepends="llvm11" +makedepends="llvm11" make_build_args="VERBOSE=1" short_desc="LLVM version of libunwind library" maintainer="Orphaned <orphan@voidlinux.org>" license="NCSA, MIT" homepage="https://llvm.org" distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/libunwind-${version}.src.tar.xz" -checksum=09dc5ecc4714809ecf62908ae8fe8635ab476880455287036a2730966833c626 +checksum=8455011c33b14abfe57b2fd9803fb610316b16d4c9818bec552287e2ba68922f + +post_patch() { + case "$XBPS_TARGET_MACHINE" in + i686-musl|ppc-musl) ;; + *) return 0 ;; + esac + vsed -i 's,^# Setup flags.$,add_library_flags(ssp_nonshared),' src/CMakeLists.txt +} post_install() { vmkdir usr/include