diff --git a/biology/diamond/Makefile b/biology/diamond/Makefile index 7716c930c43a..d45e49fd8006 100644 --- a/biology/diamond/Makefile +++ b/biology/diamond/Makefile @@ -1,21 +1,22 @@ PORTNAME= diamond DISTVERSIONPREFIX= v DISTVERSION= 2.1.8 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jrm@FreeBSD.org COMMENT= BLAST-compatible local sequence aligner WWW= http://ab.inf.uni-tuebingen.de/software/diamond/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le USES= cmake USE_GITHUB= yes GH_ACCOUNT= bbuchfink PLIST_FILES= bin/diamond .include diff --git a/biology/diamond/files/patch-src_util_data__structures_deque.h b/biology/diamond/files/patch-src_util_data__structures_deque.h new file mode 100644 index 000000000000..efaa13f79a8a --- /dev/null +++ b/biology/diamond/files/patch-src_util_data__structures_deque.h @@ -0,0 +1,14 @@ +--- src/util/data_structures/deque.h.orig 2023-12-29 18:15:28 UTC ++++ src/util/data_structures/deque.h +@@ -186,6 +186,11 @@ struct Deque { + return *this; + } + ++ Iterator& operator-=(ptrdiff_t i) { ++ i_ -= i; ++ return *this; ++ } ++ + private: + + ptrdiff_t i_;