File luajit-riscv-fixup.patch of Package texlive
Index: texlive-20250308-source/libs/luajit/m4/lj-system.m4
===================================================================
--- texlive-20250308-source.orig/libs/luajit/m4/lj-system.m4
+++ texlive-20250308-source/libs/luajit/m4/lj-system.m4
@@ -41,6 +41,8 @@ AS_IF([grep 'LJ_TARGET_X64 ' conftest.i
AS_IF([grep 'MIPSEL ' conftest.i >/dev/null 2>&1],
[echo '-D__MIPSEL__=1' >>native_flags])
],
+ [grep 'LJ_TARGET_RISCV64 ' conftest.i >/dev/null 2>&1],
+ [LJARCH=riscv64],
[AC_MSG_ERROR([Sorry, unsupported architecture])])
AS_IF([grep 'LJ_TARGET_PS3 1'conftest.i >/dev/null 2>&1],
[LJHOST='PS3'