diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2023-06-29 10:33:12 +0200 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-06-30 14:00:28 +0200 |
commit | b27d05a94c645a3ba02c50122a229c37bec42559 (patch) | |
tree | 8357fdb356a684ec220320b18d34fce4398bf8e5 | |
parent | 211b01d0758aa5f8597db757992022ee6c77ff20 (diff) | |
download | freebsd-ports-b27d05a94c645a3ba02c50122a229c37bec42559.zip |
biology/hyphy: fix build on armv7
With OpenMP not present, the code had a duplicate function definition.
Get rid of one of the two to enable a build on armv7.
Approved by: portmgr (build fix blanket)
-rw-r--r-- | biology/hyphy/files/patch-src_core_include_likefunc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/biology/hyphy/files/patch-src_core_include_likefunc.h b/biology/hyphy/files/patch-src_core_include_likefunc.h new file mode 100644 index 000000000000..bd2ab76cc7cb --- /dev/null +++ b/biology/hyphy/files/patch-src_core_include_likefunc.h @@ -0,0 +1,12 @@ +--- src/core/include/likefunc.h.orig 2023-06-27 12:50:39 UTC ++++ src/core/include/likefunc.h +@@ -282,9 +282,6 @@ class _LikelihoodFunction: public BaseObj { (public) + long GetThreadCount (void) { + return 1L; + } +- void SetThreadCount (long) { +- +- } + #endif + #endif + |