pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rna-star: Fix build error on Darwin 21.6.0
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Tue Aug 29 16:27:16 2023 -0500
Changeset: e4c9c5a9d3b5ea3862bae1a8185c2d20c497c55b
Modified Files:
rna-star/distinfo
Added Files:
rna-star/patches/patch-opal_opal.cpp
Log Message:
rna-star: Fix build error on Darwin 21.6.0
Remove extern "C" from file compiled with c++
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e4c9c5a9d3b5ea3862bae1a8185c2d20c497c55b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rna-star/distinfo | 1 +
rna-star/patches/patch-opal_opal.cpp | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diffs:
diff --git a/rna-star/distinfo b/rna-star/distinfo
index 04f9f981ea..07da0ac624 100644
--- a/rna-star/distinfo
+++ b/rna-star/distinfo
@@ -8,3 +8,4 @@ SHA1 (patch-SharedMemory.cpp) = e4b97d68ddeb7ed2c7da66378f253ff4cd42abee
SHA1 (patch-SoloBarcode.cpp) = a939a97cadd05b1ec6b6dfcddb469acd5072b0e8
SHA1 (patch-SuffixArrayFuns.cpp) = b7c623c02277fdfc2bd9d6fa8068afafeb46b1cf
SHA1 (patch-bamSortByCoordinate.cpp) = e91a4ac9f04beb29c95c7bfbb5d89c5bf41aca41
+SHA1 (patch-opal_opal.cpp) = e41a9981fbaf43d18264fc4ac13163501aac93bb
diff --git a/rna-star/patches/patch-opal_opal.cpp b/rna-star/patches/patch-opal_opal.cpp
new file mode 100644
index 0000000000..15f0650cdd
--- /dev/null
+++ b/rna-star/patches/patch-opal_opal.cpp
@@ -0,0 +1,17 @@
+$NetBSD$
+
+# Fix compile error on Darwin 21.6.0
+
+--- opal/opal.cpp.orig 2023-08-29 21:20:11.000000000 +0000
++++ opal/opal.cpp
+@@ -5,10 +5,8 @@
+ #include <limits>
+ #include <vector>
+
+-extern "C" {
+ #define SIMDE_ENABLE_NATIVE_ALIASES
+ #include <simde_avx2.h> // AVX2 and lower
+-}
+
+ #include "opal.h"
+
Home |
Main Index |
Thread Index |
Old Index