head 1.5; access; symbols pkgsrc-2017Q1:1.4.0.8 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.6 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.4 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.2 pkgsrc-2016Q2-base:1.4; locks; strict; comment @// @; 1.5 date 2017.06.29.16.23.27; author jperkin; state dead; branches; next 1.4; commitid Qq7HZWSs4njvShXz; 1.4 date 2016.06.21.16.24.00; author youri; state Exp; branches; next 1.3; commitid uGW8NTi1r2f3Slbz; 1.3 date 2016.06.16.10.00.46; author youri; state Exp; branches; next 1.2; commitid zBeOzEWRnAMvUFaz; 1.2 date 2016.06.08.13.03.18; author joerg; state Exp; branches; next 1.1; commitid qA2hWjQYsmZ6bF9z; 1.1 date 2016.06.08.13.00.44; author youri; state Exp; branches; next ; commitid TOcfqEoYBqJbaF9z; desc @@ 1.5 log @Remove merged and obsolete patch. @ text @$NetBSD: patch-src_lsof.cpp,v 1.4 2016/06/21 16:24:00 youri Exp $ Casting temporaries to references is not valid. Merged upstream. --- src/lsof.cpp.orig 2016-04-05 16:12:54.000000000 +0000 +++ src/lsof.cpp @@@@ -137,7 +137,9 @@@@ namespace void update_count(unsigned count) { - string s = static_cast(std::ostringstream() << count).str(); + std::ostringstream ss; + ss << count; + string s = ss.str(); gtk_label_set_text(this->count, s.c_str()); } @ 1.4 log @Patch was merged upstream. @ text @d1 1 a1 1 $NetBSD: patch-src_lsof.cpp,v 1.3 2016/06/16 10:00:46 youri Exp $ @ 1.3 log @mate-system-monitor: Fix build. @ text @d1 1 a1 1 $NetBSD: patch-src_lsof.cpp,v 1.2 2016/06/08 13:03:18 joerg Exp $ d4 1 a4 1 Submitted upstream. @ 1.2 log @Just drop the cast. @ text @d1 1 a1 1 $NetBSD$ d4 1 d6 1 a6 1 --- src/lsof.cpp.orig 2016-06-04 18:57:52.613319665 +0000 d8 1 a8 1 @@@@ -137,7 +137,7 @@@@ namespace d13 3 a15 1 + string s = (std::ostringstream() << count).str(); @ 1.1 log @mate-system-monitor: Fix build with clang. @ text @d3 1 a3 1 Fix build on clang. d5 1 a5 1 --- src/lsof.cpp.orig 2016-04-05 16:12:54.000000000 +0000 d12 1 a12 1 + string s = static_cast(std::ostringstream() << count).str(); @