diff --git a/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static32x16pr.h b/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static32x16pr.h new file mode 100644 index 000000000000..9794fb79ae06 --- /dev/null +++ b/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static32x16pr.h @@ -0,0 +1,11 @@ +--- htscodecs/htscodecs/rANS_static32x16pr.h.orig 2026-03-24 19:00:02 UTC ++++ htscodecs/htscodecs/rANS_static32x16pr.h +@@ -146,7 +146,7 @@ unsigned char *rans_uncompress_O1_32x16_avx512(unsigne + + //---------------------------------------------------------------------- + // Arm Neon implementation +-#ifdef __ARM_NEON ++#if defined(__ARM_NEON) && defined(__aarch64__) + unsigned char *rans_compress_O0_32x16_neon(unsigned char *in, + unsigned int in_size, + unsigned char *out, diff --git a/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static32x16pr__neon.c b/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static32x16pr__neon.c new file mode 100644 index 000000000000..ad7cca53620c --- /dev/null +++ b/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static32x16pr__neon.c @@ -0,0 +1,11 @@ +--- htscodecs/htscodecs/rANS_static32x16pr_neon.c.orig 2026-03-24 19:00:35 UTC ++++ htscodecs/htscodecs/rANS_static32x16pr_neon.c +@@ -32,7 +32,7 @@ + */ + + #include "config.h" +-#ifdef __ARM_NEON ++#if defined(__ARM_NEON) && defined(__aarch64__) + #include + + #include diff --git a/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static4x16pr.c b/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static4x16pr.c new file mode 100644 index 000000000000..8cc3e85143ed --- /dev/null +++ b/biology/iolib/files/patch-htscodecs_htscodecs_rANS__static4x16pr.c @@ -0,0 +1,11 @@ +--- htscodecs/htscodecs/rANS_static4x16pr.c.orig 2026-03-24 19:05:28 UTC ++++ htscodecs/htscodecs/rANS_static4x16pr.c +@@ -1006,7 +1006,7 @@ unsigned char *(*rans_dec_func(int do_simd, int order) + } + } + +-#elif defined(__ARM_NEON) ++#elif defined(__ARM_NEON) && defined(__aarch64__) + + #if defined(__linux__) || defined(__FreeBSD__) + #include