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 | 486f32091897c137e19f9ff386bdf099ae345803 (patch) | |
tree | efd58fc900b1dbc2e384909a98330d95e4dffd3b /net | |
parent | 69401bf8e7a28d6bfea5f759f60dd9e73546166a (diff) | |
download | pkgsrc-486f32091897c137e19f9ff386bdf099ae345803.tar.gz |
operator bool doesn't equal good(), but !bad(). This makes a difference
when it comes to handling EOF. Adjust.
Diffstat (limited to 'net')
-rw-r--r-- | net/synergy/Makefile | 3 | ||||
-rw-r--r-- | net/synergy/distinfo | 4 | ||||
-rw-r--r-- | net/synergy/patches/patch-src_lib_server_CConfig.cpp | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/net/synergy/Makefile b/net/synergy/Makefile index 174ea3b7226..076ed1a44e7 100644 --- a/net/synergy/Makefile +++ b/net/synergy/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.17 2013/05/11 21:40:14 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2013/07/05 21:34:12 joerg Exp $ # DISTNAME= synergy-1.3.8-Source PKGNAME= ${DISTNAME:S/-Source//} +PKGREVISION= 1 CATEGORIES= net x11 MASTER_SITES= http://synergy.googlecode.com/files/ diff --git a/net/synergy/distinfo b/net/synergy/distinfo index ab53ede6cbd..720f8fa100d 100644 --- a/net/synergy/distinfo +++ b/net/synergy/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.10 2013/05/11 21:40:14 joerg Exp $ +$NetBSD: distinfo,v 1.11 2013/07/05 21:34:12 joerg Exp $ SHA1 (synergy-1.3.8-Source.tar.gz) = 82e80b22c6746e573d047aa4a1ad7b71c28cf7d3 RMD160 (synergy-1.3.8-Source.tar.gz) = 3b02faec3b5e5dbea1853e6decd92e4cf6eca419 Size (synergy-1.3.8-Source.tar.gz) = 2518396 bytes -SHA1 (patch-src_lib_server_CConfig.cpp) = 47cb18b62cfd9eeee08cc5ee24e7777de98fefd2 +SHA1 (patch-src_lib_server_CConfig.cpp) = 14b5434c3fe33efde44f26fd14da6897229aacc9 SHA1 (patch-src_lib_server_CConfig.h) = 6aa99efc189a3d8e067a30f4fee4d94874e4f3c6 SHA1 (patch-tools_gmock-1.6.0_configure) = 45cfbcdc8b55c1e745265ed4e2bbbfe41ef000a2 SHA1 (patch-tools_gmock-1.6.0_include_gmock_internal_gmock-port.h) = dc526bcfab414dcd35d3d67c36998d92020bd398 diff --git a/net/synergy/patches/patch-src_lib_server_CConfig.cpp b/net/synergy/patches/patch-src_lib_server_CConfig.cpp index cba57e393ab..39e6e4ecd2d 100644 --- a/net/synergy/patches/patch-src_lib_server_CConfig.cpp +++ b/net/synergy/patches/patch-src_lib_server_CConfig.cpp @@ -1,4 +1,4 @@ -$NetBSD: patch-src_lib_server_CConfig.cpp,v 1.1 2013/05/11 21:40:14 joerg Exp $ +$NetBSD: patch-src_lib_server_CConfig.cpp,v 1.2 2013/07/05 21:34:12 joerg Exp $ --- src/lib/server/CConfig.cpp.orig 2011-01-21 03:51:35.000000000 +0000 +++ src/lib/server/CConfig.cpp @@ -10,7 +10,7 @@ $NetBSD: patch-src_lib_server_CConfig.cpp,v 1.1 2013/05/11 21:40:14 joerg Exp $ +CConfigReadContext::operator bool() const { - return m_stream; -+ return m_stream.good(); ++ return !m_stream.bad(); } bool |