- Fix build on 11+

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-12-22 12:27:14 +00:00
parent a34da07c60
commit b945f4dc26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456976
2 changed files with 11 additions and 4 deletions

View File

@ -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

View File

@ -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;