From: Wei-Ting Yang Date: Fri, 26 Sep 2025 01:29:44 +0000 (+0800) Subject: libunwind: fix typo in patch file suffix X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=cced09132ad2859b31036d306c1340e897df976c;p=openwrt%2Fstaging%2Fthess.git libunwind: fix typo in patch file suffix Fix typo in patch file suffix. Signed-off-by: Wei-Ting Yang Link: https://github.com/openwrt/openwrt/pull/20178 Signed-off-by: Robert Marko --- diff --git a/package/libs/libunwind/patches/005-loongarch64-musl.patch b/package/libs/libunwind/patches/005-loongarch64-musl.patch new file mode 100644 index 0000000000..bb961bdfad --- /dev/null +++ b/package/libs/libunwind/patches/005-loongarch64-musl.patch @@ -0,0 +1,12 @@ +--- a/src/loongarch64/getcontext.S ++++ b/src/loongarch64/getcontext.S +@@ -25,7 +25,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ + + #include "offsets.h" ++#ifdef __GLIBC__ + #include ++#endif + .text + + #define SREG(X) st.d $r##X, $r4, (LINUX_UC_MCONTEXT_GREGS + 8 * X) diff --git a/package/libs/libunwind/patches/005-loongarch64-musl.pattch b/package/libs/libunwind/patches/005-loongarch64-musl.pattch deleted file mode 100644 index bb961bdfad..0000000000 --- a/package/libs/libunwind/patches/005-loongarch64-musl.pattch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/loongarch64/getcontext.S -+++ b/src/loongarch64/getcontext.S -@@ -25,7 +25,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - - #include "offsets.h" -+#ifdef __GLIBC__ - #include -+#endif - .text - - #define SREG(X) st.d $r##X, $r4, (LINUX_UC_MCONTEXT_GREGS + 8 * X)