1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

biology/htslib: fix build on armv7 (again)

The patches provided by me in 2023 to fix the build on armv7 were
upstreamed shortly after.  In a subsequent update to the port, it
appears that the maintainer had then reversed these patches (?!),
effectively undoing my now upstreamed bug fix.

Remove the bogus patches to fix the build.

Fixes:		aafe5d31c5
See also:	https://github.com/samtools/htscodecs/issues/81
Approved by:	portmgr (build fix blanket)
MFH:		2026Q2
This commit is contained in:
Robert Clausecker
2026-04-19 17:29:12 +02:00
parent 2cb99ec694
commit 89c7d793da
2 changed files with 0 additions and 22 deletions
@@ -1,11 +0,0 @@
--- htscodecs/htscodecs/rANS_static32x16pr_neon.c.orig 2024-10-09 21:43:35 UTC
+++ htscodecs/htscodecs/rANS_static32x16pr_neon.c
@@ -32,7 +32,7 @@
*/
#include "config.h"
-#if defined(__ARM_NEON) && defined(__aarch64__)
+#if defined(__ARM_NEON)
#include <arm_neon.h>
#include <limits.h>
@@ -1,11 +0,0 @@
--- htscodecs/htscodecs/rANS_static4x16pr.c.orig 2024-10-09 21:44:38 UTC
+++ htscodecs/htscodecs/rANS_static4x16pr.c
@@ -1030,7 +1030,7 @@ unsigned char *(*rans_dec_func(int do_simd, int order)
}
}
-#elif defined(__ARM_NEON) && defined(__aarch64__)
+#elif defined(__ARM_NEON)
#if defined(__linux__) || defined(__FreeBSD__)
#include <sys/auxv.h>