Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
@@ -0,0 +1,22 @@
$NetBSD: patch-utils_units.cpp,v 1.1 2013/03/02 18:16:39 joerg Exp $
--- utils/units.cpp.orig 2013-02-28 22:07:12.000000000 +0000
+++ utils/units.cpp
@@ -143,7 +143,7 @@ units::bytes::operator uint64_t(void) co
///
/// \post The bad bit of input is set to 1 if the parsing failed.
std::istream&
-operator>>(std::istream& input, units::bytes& rhs)
+units::operator>>(std::istream& input, units::bytes& rhs)
{
std::string word;
input >> word;
@@ -166,7 +166,7 @@ operator>>(std::istream& input, units::b
///
/// \return The output stream.
std::ostream&
-operator<<(std::ostream& output, const units::bytes& rhs)
+units::operator<<(std::ostream& output, const units::bytes& rhs)
{
return (output << rhs.format());
}