git: 3f54e02fce0a - main - biology/hhsuite: Fix build on some systems by adding missing C++ #include statement
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Feb 2024 09:27:25 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3f54e02fce0ae99a18907aec293932c77d9a8fee
commit 3f54e02fce0ae99a18907aec293932c77d9a8fee
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-04 09:24:22 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-04 09:24:22 +0000
biology/hhsuite: Fix build on some systems by adding missing C++ #include statement
Reported by: fallout
---
biology/hhsuite/files/patch-src_a3m__compress.cpp | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/biology/hhsuite/files/patch-src_a3m__compress.cpp b/biology/hhsuite/files/patch-src_a3m__compress.cpp
new file mode 100644
index 000000000000..a0c6629306a9
--- /dev/null
+++ b/biology/hhsuite/files/patch-src_a3m__compress.cpp
@@ -0,0 +1,12 @@
+--- src/a3m_compress.cpp.orig 2024-02-04 09:18:03 UTC
++++ src/a3m_compress.cpp
+@@ -12,6 +12,9 @@
+ #include <omp.h>
+ #endif
+
++#include <functional> // for std::ptr_fun
++
++
+ int compressed_a3m::compress_a3m(std::istream* input,
+ ffindex_index_t* ffindex_sequence_database_index,
+ char* ffindex_sequence_database_data, std::ostream* output) {