git: 95e5b7732644 - main - biology/hisat2: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Sep 2026 12:54:28 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=95e5b7732644b45ff4422bdfba7cefa6108c0d9f
commit 95e5b7732644b45ff4422bdfba7cefa6108c0d9f
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-18 21:05:51 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-24 12:53:47 +0000
biology/hisat2: fix build on powerpc64*
./gfm.h:552:14: error: invalid instruction, did you mean: popcntb, popcntd, popcntw?
---
biology/hisat2/files/patch-gfm.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/biology/hisat2/files/patch-gfm.h b/biology/hisat2/files/patch-gfm.h
new file mode 100644
index 000000000000..6207decff165
--- /dev/null
+++ b/biology/hisat2/files/patch-gfm.h
@@ -0,0 +1,14 @@
+--- gfm.h.orig 2026-09-18 19:08:30 UTC
++++ gfm.h
+@@ -59,6 +59,11 @@
+ #include "repeat.h"
+ #include "repeat_kmer.h"
+
++#if defined(POPCNT_CAPABILITY) && !defined(__x86_64__) && !defined(__i386__) && \
++ !defined(_M_X64) && !defined(_M_IX86)
++#undef POPCNT_CAPABILITY
++#endif
++
+ #ifdef POPCNT_CAPABILITY
+ #include "processor_support.h"
+ #endif