From d4d7613f6e5d63efbde690a43405a9e4f0d7d8f6 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 18 Jan 2023 20:14:39 +0100 Subject: [PATCH] chmlib: fix patch for riscv64 --- .../{aarch64-ppc64.patch => aarch64-ppc64-aarch64.patch} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename srcpkgs/chmlib/patches/{aarch64-ppc64.patch => aarch64-ppc64-aarch64.patch} (76%) diff --git a/srcpkgs/chmlib/patches/aarch64-ppc64.patch b/srcpkgs/chmlib/patches/aarch64-ppc64-aarch64.patch similarity index 76% rename from srcpkgs/chmlib/patches/aarch64-ppc64.patch rename to srcpkgs/chmlib/patches/aarch64-ppc64-aarch64.patch index 9342b8e339f..8af0bf17b3e 100644 --- a/srcpkgs/chmlib/patches/aarch64-ppc64.patch +++ b/srcpkgs/chmlib/patches/aarch64-ppc64-aarch64.patch @@ -5,7 +5,7 @@ /* x86-64 */ /* Note that these may be appropriate for other 64-bit machines. */ -#elif __x86_64__ || __ia64__ -+#elif __x86_64__ || __ia64__ || __aarch64__ || __powerpc64__ ++#elif __x86_64__ || __ia64__ || __aarch64__ || __powerpc64__ || ( defined(__riscv_xlen) && __riscv_xlen == 64) typedef unsigned char UChar; typedef short Int16; typedef unsigned short UInt16;