git: 696f6acf5df4 - main - biology/jellyfish: Fix unused open mode variable

Jason W. Bacon jwb at FreeBSD.org
Sat Sep 11 12:32:09 UTC 2021


The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=696f6acf5df455dddd38a7b023820f5eddcddc60

commit 696f6acf5df455dddd38a7b023820f5eddcddc60
Author:     Jason W. Bacon <jwb at FreeBSD.org>
AuthorDate: 2021-09-11 12:29:47 +0000
Commit:     Jason W. Bacon <jwb at FreeBSD.org>
CommitDate: 2021-09-11 12:29:47 +0000

    biology/jellyfish: Fix unused open mode variable
    
    PR:             258397
    Reported by:    dim
---
 biology/jellyfish/Makefile                                 |  1 +
 biology/jellyfish/files/patch-include_jellyfish_dumper.hpp | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/biology/jellyfish/Makefile b/biology/jellyfish/Makefile
index 9937ac96c1b2..4079f92b3c4f 100644
--- a/biology/jellyfish/Makefile
+++ b/biology/jellyfish/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		Jellyfish
 DISTVERSIONPREFIX=	v
 DISTVERSION=		2.3.0
+PORTREVISION=		1
 CATEGORIES=		biology
 
 MAINTAINER=	jwb at FreeBSD.org
diff --git a/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp b/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp
new file mode 100644
index 000000000000..2e064ad17f08
--- /dev/null
+++ b/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp
@@ -0,0 +1,11 @@
+--- include/jellyfish/dumper.hpp.orig	2021-09-11 12:09:13 UTC
++++ include/jellyfish/dumper.hpp
+@@ -54,7 +54,7 @@ class dumper_t { (protected)
+     }
+     file_names_.push_back(name.str());
+ 
+-    out.open(name.str().c_str());
++    out.open(name.str().c_str(), mode);
+     if(out.fail())
+       throw ErrorWriting(err::msg() << "'" << name.str() << "': "
+                          << "Can't open file for writing" << err::no);


More information about the dev-commits-ports-main mailing list