aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-12-22 20:27:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-12-22 20:27:14 +0800
commite1b5062db79cdbd6f4c66545c4eea21d39c55666 (patch)
tree2cf6d1ad8de871abf20f79f43d32c0a44e786611 /biology
parent587561f04385272d70a42005ddeeeb3ff713ec99 (diff)
downloadfreebsd-ports-gnome-e1b5062db79cdbd6f4c66545c4eea21d39c55666.tar.gz
freebsd-ports-gnome-e1b5062db79cdbd6f4c66545c4eea21d39c55666.tar.zst
freebsd-ports-gnome-e1b5062db79cdbd6f4c66545c4eea21d39c55666.zip
- Fix build on 11+
Approved by: portmgr blanket
Diffstat (limited to 'biology')
-rw-r--r--biology/bedtools/Makefile4
-rw-r--r--biology/bedtools/files/patch-src_utils_FileRecordTools_Records_StrandQueue.h11
2 files changed, 11 insertions, 4 deletions
diff --git a/biology/bedtools/Makefile b/biology/bedtools/Makefile
index 6d4928122d65..0b8640170ada 100644
--- a/biology/bedtools/Makefile
+++ b/biology/bedtools/Makefile
@@ -13,10 +13,6 @@ COMMENT= Toolset for genome arithmetic
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_12_aarch64= fails to compile: /usr/include/c++/v1/queue:401:5: error: static_assert failed
-BROKEN_armv6= fails to compile: implicit instantiation of undefined template __static_assert_test<false>
-BROKEN_armv7= fails to compile: implicit instantiation of undefined template __static_assert_test<false>
-
USE_GITHUB= yes
GH_ACCOUNT= arq5x
GH_PROJECT= bedtools2
diff --git a/biology/bedtools/files/patch-src_utils_FileRecordTools_Records_StrandQueue.h b/biology/bedtools/files/patch-src_utils_FileRecordTools_Records_StrandQueue.h
new file mode 100644
index 000000000000..e5987e640cd0
--- /dev/null
+++ b/biology/bedtools/files/patch-src_utils_FileRecordTools_Records_StrandQueue.h
@@ -0,0 +1,11 @@
+--- src/utils/FileRecordTools/Records/StrandQueue.h.orig 2015-09-03 04:36:18 UTC
++++ src/utils/FileRecordTools/Records/StrandQueue.h
+@@ -30,7 +30,7 @@ public:
+
+ private:
+ // static RecordPtrSortFunctor _recSortFunctor;
+- typedef priority_queue<Record *, vector<const Record *>, RecordPtrSortDescFunctor > queueType;
++ typedef priority_queue<Record *, vector<Record *>, RecordPtrSortDescFunctor > queueType;
+ vector<queueType *> _queues;
+ static const int NUM_QUEUES = 3;
+