aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-02-04 09:24:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-02-04 09:24:22 +0000
commit3f54e02fce0ae99a18907aec293932c77d9a8fee (patch)
tree49ca96dcb495e75b27dda1131992ed6aea46912c
parent21dcc8a1c6a0d0166154aa00abd91a0cc1b97dba (diff)
downloadports-3f54e02fce0ae99a18907aec293932c77d9a8fee.tar.gz
ports-3f54e02fce0ae99a18907aec293932c77d9a8fee.zip
biology/hhsuite: Fix build on some systems by adding missing C++ #include statement
Reported by: fallout
-rw-r--r--biology/hhsuite/files/patch-src_a3m__compress.cpp12
1 files changed, 12 insertions, 0 deletions
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) {