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;