Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2026 20:15:07 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 89c7d793da26 - main - biology/htslib: fix build on armv7 (again)
Message-ID:  <69e7dacb.2047f.7592ba3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89c7d793da2638cfdc15252825a5548c3eb2f147

commit 89c7d793da2638cfdc15252825a5548c3eb2f147
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-04-19 15:29:12 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-04-21 20:14:30 +0000

    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:          aafe5d31c5f3afdaad0f6345bee06e7a3e2c5ced
    See also:       https://github.com/samtools/htscodecs/issues/81
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q2
---
 .../patch-htscodecs_htscodecs_rANS__static32x16pr__neon.c     | 11 -----------
 .../files/patch-htscodecs_htscodecs_rANS__static4x16pr.c      | 11 -----------
 2 files changed, 22 deletions(-)

diff --git a/biology/htslib/files/patch-htscodecs_htscodecs_rANS__static32x16pr__neon.c b/biology/htslib/files/patch-htscodecs_htscodecs_rANS__static32x16pr__neon.c
deleted file mode 100644
index 434edf03f411..000000000000
--- a/biology/htslib/files/patch-htscodecs_htscodecs_rANS__static32x16pr__neon.c
+++ /dev/null
@@ -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>
diff --git a/biology/htslib/files/patch-htscodecs_htscodecs_rANS__static4x16pr.c b/biology/htslib/files/patch-htscodecs_htscodecs_rANS__static4x16pr.c
deleted file mode 100644
index 3eaebe7ae36d..000000000000
--- a/biology/htslib/files/patch-htscodecs_htscodecs_rANS__static4x16pr.c
+++ /dev/null
@@ -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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e7dacb.2047f.7592ba3>