diff options
author | joerg <joerg@pkgsrc.org> | 2013-07-05 21:34:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-07-05 21:34:11 +0000 |
commit | 07ac4c367880a52d83b87f930362b80532e0b944 (patch) | |
tree | efd58fc900b1dbc2e384909a98330d95e4dffd3b /ham/fldigi | |
parent | a1ce5e4e9a00bbdab062f6605c4f2b6c9c7708ba (diff) | |
download | pkgsrc-07ac4c367880a52d83b87f930362b80532e0b944.tar.gz |
operator bool doesn't equal good(), but !bad(). This makes a difference
when it comes to handling EOF. Adjust.
Diffstat (limited to 'ham/fldigi')
-rw-r--r-- | ham/fldigi/Makefile | 4 | ||||
-rw-r--r-- | ham/fldigi/distinfo | 4 | ||||
-rw-r--r-- | ham/fldigi/patches/patch-src_navtex_navtex.cxx | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ham/fldigi/Makefile b/ham/fldigi/Makefile index 9a4add26671..f8b6d85df53 100644 --- a/ham/fldigi/Makefile +++ b/ham/fldigi/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.33 2013/05/31 12:41:10 wiz Exp $ +# $NetBSD: Makefile,v 1.34 2013/07/05 21:34:12 joerg Exp $ # DISTNAME= fldigi-3.21.70 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= ham MASTER_SITES= http://www.w1hkj.com/downloads/fldigi/ LICENSE= gnu-gpl-v3 diff --git a/ham/fldigi/distinfo b/ham/fldigi/distinfo index 7deed9e6174..5816b47fb56 100644 --- a/ham/fldigi/distinfo +++ b/ham/fldigi/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2013/05/09 14:09:13 mef Exp $ +$NetBSD: distinfo,v 1.14 2013/07/05 21:34:12 joerg Exp $ SHA1 (fldigi-3.21.70.tar.gz) = 670700583404205990c7b7229eb6e75909698e63 RMD160 (fldigi-3.21.70.tar.gz) = bcbb75218cc79d4662bf4bd07ed206823d9c953e @@ -9,7 +9,7 @@ SHA1 (patch-src_logbook_logsupport.cxx) = f5540103677064d8a6da61db8f445b79272930 SHA1 (patch-src_misc_dxcc.cxx) = 05fe507377334dd2787a76395dec21afeacf499a SHA1 (patch-src_misc_newinstall.cxx) = 2c215e9423d27dd4f4657221b17cf4ed3f12355c SHA1 (patch-src_misc_re.cxx) = 9daf70fa7844546e6ad761b5bdf924b6de74843c -SHA1 (patch-src_navtex_navtex.cxx) = 13c70ecfa6c7052c0e42bbbc9829d559b6ea2cd3 +SHA1 (patch-src_navtex_navtex.cxx) = 689581bfedf83416baf876ef1c51769ce673b9d8 SHA1 (patch-src_spot_notify.cxx) = e0f2889f1ae2405326b2883f13f618c3d9bfd412 SHA1 (patch-src_spot_pskrep.cxx) = 1ea5838d80224b06fe940802f4f6ee7ac4207a72 SHA1 (patch-src_spot_spot.cxx) = e69b10e9f9e884d3ef3cf5bb18d882cb1a5db5a7 diff --git a/ham/fldigi/patches/patch-src_navtex_navtex.cxx b/ham/fldigi/patches/patch-src_navtex_navtex.cxx index 34d1b7fe78d..c36e044c7a7 100644 --- a/ham/fldigi/patches/patch-src_navtex_navtex.cxx +++ b/ham/fldigi/patches/patch-src_navtex_navtex.cxx @@ -1,4 +1,4 @@ -$NetBSD: patch-src_navtex_navtex.cxx,v 1.1 2013/05/06 14:49:32 joerg Exp $ +$NetBSD: patch-src_navtex_navtex.cxx,v 1.2 2013/07/05 21:34:12 joerg Exp $ --- src/navtex/navtex.cxx.orig 2013-05-03 14:31:34.000000000 +0000 +++ src/navtex/navtex.cxx @@ -7,13 +7,13 @@ $NetBSD: patch-src_navtex_navtex.cxx,v 1.1 2013/05/06 14:49:32 joerg Exp $ std::stringstream sstrm( parsed_str ); sstrm >> ref ; - return sstrm ; -+ return sstrm.good(); ++ return !sstrm.bad(); } static bool read_until_delim( std::istream & istrm, std::string & ref ) { - return std::getline( istrm, ref, delim ); -+ return std::getline( istrm, ref, delim ).good(); ++ return !std::getline( istrm, ref, delim ).bad(); } class NavtexRecord |