diff options
author | Sam James <sam@gentoo.org> | 2023-12-02 21:17:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-02 21:22:49 +0000 |
commit | 65fcc50086bba795f212f918479c99d4c74f6a50 (patch) | |
tree | 65fb9b53cde9a20579d2a8e72276e7708daa9fc5 /sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch | |
parent | net-im/synapse: drop 1.93.0-r1, 1.95.0-r1 (diff) | |
download | gentoo-65fcc50086bba795f212f918479c99d4c74f6a50.tar.gz gentoo-65fcc50086bba795f212f918479c99d4c74f6a50.tar.bz2 gentoo-65fcc50086bba795f212f918479c99d4c74f6a50.zip |
sys-libs/libunwind: add 1.8.0_rc1 (unkeyworded)
Bug: https://bugs.gentoo.org/918969
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch')
-rw-r--r-- | sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch b/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch new file mode 100644 index 000000000000..b4e36d71efdc --- /dev/null +++ b/sys-libs/libunwind/files/libunwind-1.8.0_rc1-configure-bashism.patch @@ -0,0 +1,21 @@ +https://github.com/libunwind/libunwind/pull/675 + +From ac81d339a7999e054deda2c0041c01424df3eadd Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sat, 2 Dec 2023 21:18:44 +0000 +Subject: [PATCH] configure.ac: fix bashism in LDFLAGS append + +'+=' is not required for POSIX shells and may not work with e.g. /bin/sh +provided by dash. Just expand it instead. +--- a/configure.ac ++++ b/configure.ac +@@ -54,7 +54,7 @@ dnl Checks for libraries. + AC_MSG_NOTICE([--- Checking for libraries ---]) + save_LDFLAGS="$LDFLAGS" + save_LIBS="$LIBS" +-LDFLAGS+=" -nostdlib" ++LDFLAGS="${LDFLAGS} -nostdlib" + AC_SEARCH_LIBS([_Unwind_Resume], [gcc_s gcc], + [AS_IF([test "$ac_cv_search__Unwind_Resume" != "none required"], + [AC_SUBST([LIBCRTS], ["$ac_cv_search__Unwind_Resume"])])], + |