Index: head/www/sams2/files/patch-src_datefilter.cpp =================================================================== --- head/www/sams2/files/patch-src_datefilter.cpp (nonexistent) +++ head/www/sams2/files/patch-src_datefilter.cpp (revision 473961) @@ -0,0 +1,29 @@ +Fix build with Clang6: stringstream doesn't have a viable overload +for ostream::operator<< . It does with Clang5. Use str() explicitly. + +--- src/datefilter.cpp.orig 2018-07-04 11:23:09 UTC ++++ src/datefilter.cpp +@@ -130,9 +130,10 @@ string DateFilter::getStartDateAsString () const + strftime (strbuf, sizeof (strbuf), "%Y-%m-%d", localtime (&_date_start)); + s << strbuf; + +- DEBUG (DEBUG8, "[" << this << "->" << __FUNCTION__ << "] = " << s); ++ string r = s.str (); ++ DEBUG (DEBUG8, "[" << this << "->" << __FUNCTION__ << "] = " << r); + +- return s.str (); ++ return r; + } + + string DateFilter::getEndDateAsString () const +@@ -143,7 +144,8 @@ string DateFilter::getEndDateAsString () const + strftime (strbuf, sizeof (strbuf), "%Y-%m-%d", localtime (&_date_end)); + s << strbuf; + +- DEBUG (DEBUG8, "[" << this << "->" << __FUNCTION__ << "] = " << s); ++ string r = s.str (); ++ DEBUG (DEBUG8, "[" << this << "->" << __FUNCTION__ << "] = " << r); + +- return s.str (); ++ return r; + } Property changes on: head/www/sams2/files/patch-src_datefilter.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/sams2/files/patch-src_net.cpp =================================================================== --- head/www/sams2/files/patch-src_net.cpp (nonexistent) +++ head/www/sams2/files/patch-src_net.cpp (revision 473961) @@ -0,0 +1,18 @@ +Fix build with Clang6: stringstream doesn't have a viable overload +for ostream::operator<< . It does with Clang5. Use str() explicitly. + +--- src/net.cpp.orig 2018-07-04 11:24:43 UTC ++++ src/net.cpp +@@ -156,9 +156,10 @@ string Net::asString () + + s << _net.c_str (); + +- DEBUG (DEBUG8, "[" << this << "->" << __FUNCTION__ << "] = " << s); ++ string r = s.str (); ++ DEBUG (DEBUG8, "[" << this << "->" << __FUNCTION__ << "] = " << r); + +- return s.str (); ++ return r; + } + + Property changes on: head/www/sams2/files/patch-src_net.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property