>From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060901

It has a patch like:

```
diff -ruN kamailio-5.7.3-bk/src/modules/app_jsdt/duk_config.h 
kamailio-5.7.3/src/modules/app_jsdt/duk_config.h
--- kamailio-5.7.3-bk/src/modules/app_jsdt/duk_config.h 2023-11-17 
19:30:23.000000000 +0800
+++ kamailio-5.7.3/src/modules/app_jsdt/duk_config.h    2024-01-16 
17:22:10.659716319 +0800
@@ -304,6 +304,10 @@
 #endif
 #endif /* __riscv */
 
+#if defined(__loongarch64)
+#define DUK_F_LOONGARCH64
+#endif
+
 /* SuperH */
 #if defined(__sh__) || defined(__sh1__) || defined(__SH1__)         \
                || defined(__sh2__) || defined(__SH2__) || defined(__sh3__) \
@@ -979,6 +983,11 @@
 /* SPARC byte order varies so rely on autodetection. */
 #undef DUK_USE_PACKED_TVAL
 #define DUK_F_PACKED_TVAL_PROVIDED
+#elif defined(DUK_F_LOONGARCH64)
+#define DUK_USE_ARCH_STRING "loongarch64"
+#define DUK_USE_BYTEORDER 1
+#define DUK_USE_PACKED_TVAL
+#define DUK_F_PACKED_TVAL_PROVIDED
 #elif defined(DUK_F_RISCV32)
 /* --- RISC-V 32-bit --- */
 #define DUK_USE_ARCH_STRING "riscv32"
```

I imagine that is coming from 
https://github.com/svaarala/duktape/commit/1dcb1c23429208de8d6693dec55f2cbf874026ea

merged upstream

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3976
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to