Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2018 15:41:07 +0000 (UTC)
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465904 - in head/biology/libgtextutils: . files
Message-ID:  <201803291541.w2TFf7pn061046@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jwb
Date: Thu Mar 29 15:41:07 2018
New Revision: 465904
URL: https://svnweb.freebsd.org/changeset/ports/465904

Log:
  biology/libgtextutils: Unbreak for FreeBSD 12
  
  Reported by:    pkg-fallout
  Approved by:    jrm
  Differential Revision:  https://reviews.freebsd.org/D14892

Added:
  head/biology/libgtextutils/files/
  head/biology/libgtextutils/files/patch-src_gtextutils_text__line__reader.cpp   (contents, props changed)
Modified:
  head/biology/libgtextutils/Makefile

Modified: head/biology/libgtextutils/Makefile
==============================================================================
--- head/biology/libgtextutils/Makefile	Thu Mar 29 15:40:06 2018	(r465903)
+++ head/biology/libgtextutils/Makefile	Thu Mar 29 15:41:07 2018	(r465904)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	libgtextutils
-PORTVERSION=	0.7
+DISTVERSION=	0.7
 CATEGORIES=	biology
 
 MAINTAINER=	jwb@FreeBSD.org

Added: head/biology/libgtextutils/files/patch-src_gtextutils_text__line__reader.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/biology/libgtextutils/files/patch-src_gtextutils_text__line__reader.cpp	Thu Mar 29 15:41:07 2018	(r465904)
@@ -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() ;
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803291541.w2TFf7pn061046>