mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
biology/jellyfish: Fix unused open mode variable
PR: 258397 Reported by: dim
This commit is contained in:
parent
024d2990b0
commit
696f6acf5d
@ -1,6 +1,7 @@
|
||||
PORTNAME= Jellyfish
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.3.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= jwb@FreeBSD.org
|
||||
|
11
biology/jellyfish/files/patch-include_jellyfish_dumper.hpp
Normal file
11
biology/jellyfish/files/patch-include_jellyfish_dumper.hpp
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user