libunwind: fix typo in patch file suffix
authorWei-Ting Yang <[email protected]>
Fri, 26 Sep 2025 01:29:44 +0000 (09:29 +0800)
committerRobert Marko <[email protected]>
Fri, 26 Sep 2025 09:55:55 +0000 (11:55 +0200)
Fix typo in patch file suffix.

Signed-off-by: Wei-Ting Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20178
Signed-off-by: Robert Marko <[email protected]>
package/libs/libunwind/patches/005-loongarch64-musl.patch [new file with mode: 0644]
package/libs/libunwind/patches/005-loongarch64-musl.pattch [deleted file]

diff --git a/package/libs/libunwind/patches/005-loongarch64-musl.patch b/package/libs/libunwind/patches/005-loongarch64-musl.patch
new file mode 100644 (file)
index 0000000..bb961bd
--- /dev/null
@@ -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 <endian.h>
++#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 (file)
index bb961bd..0000000
+++ /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 <endian.h>
-+#endif
-       .text
- #define SREG(X) st.d $r##X, $r4, (LINUX_UC_MCONTEXT_GREGS + 8 * X)