diff options
-rw-r--r-- | biology/diamond/Makefile | 1 | ||||
-rw-r--r-- | biology/diamond/files/patch-src_util_data__structures_deque.h | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/biology/diamond/Makefile b/biology/diamond/Makefile index 7716c930c43a..d45e49fd8006 100644 --- a/biology/diamond/Makefile +++ b/biology/diamond/Makefile @@ -1,6 +1,7 @@ PORTNAME= diamond DISTVERSIONPREFIX= v DISTVERSION= 2.1.8 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jrm@FreeBSD.org 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_; |