diff --git a/dependency/kerberos/0001-add-riscv64-support.patch b/dependency/kerberos/0001-add-riscv64-support.patch new file mode 100644 index 0000000000000000000000000000000000000000..f585177c56576d262d70edc852659563428f5dcb --- /dev/null +++ b/dependency/kerberos/0001-add-riscv64-support.patch @@ -0,0 +1,26 @@ +From 8d18d3d8a3232a6effda424318961cccfebb0b33 Mon Sep 17 00:00:00 2001 +From: huangji +Date: Fri, 28 Feb 2025 07:30:11 +0000 +Subject: [PATCH] fix build error + +Signed-off-by: huangji +--- + src/include/k5-platform.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h +index 1124931..6f8ba61 100644 +--- a/src/include/k5-platform.h ++++ b/src/include/k5-platform.h +@@ -364,7 +364,7 @@ typedef struct { int error; unsigned char did_run; } k5_init_t; + + + +-#if defined(USE_LINKER_FINI_OPTION) || defined(_WIN32) ++#if defined(USE_LINKER_FINI_OPTION) || defined(_WIN32) || defined(__riscv) + /* If we're told the linker option will be used, it doesn't really + matter what compiler we're using. Do it the same way + regardless. */ +-- +2.41.0 +