biology/libgtextutils: Unbreak for FreeBSD 12
Reported by: pkg-fallout Approved by: jrm Differential Revision: https://reviews.freebsd.org/D14892
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libgtextutils
|
||||
PORTVERSION= 0.7
|
||||
DISTVERSION= 0.7
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= jwb@FreeBSD.org
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- src/gtextutils/text_line_reader.cpp.orig 2018-03-29 13:31:53 UTC
|
||||
+++ src/gtextutils/text_line_reader.cpp
|
||||
@@ -44,6 +44,7 @@ bool TextLineReader::next_line()
|
||||
if (input_stream.eof())
|
||||
return false;
|
||||
|
||||
- return input_stream ;
|
||||
+ // Fix based on the only code change since 0.7
|
||||
+ return input_stream.good() ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user