pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/mate-system-monitor mate-system-monitor: Fix ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65d382aad6d9
branches:  trunk
changeset: 348567:65d382aad6d9
user:      youri <youri%pkgsrc.org@localhost>
date:      Thu Jun 16 10:00:46 2016 +0000

description:
mate-system-monitor: Fix build.

diffstat:

 sysutils/mate-system-monitor/distinfo                   |   4 ++--
 sysutils/mate-system-monitor/patches/patch-src_lsof.cpp |  11 +++++++----
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 6eea64b94d0b -r 65d382aad6d9 sysutils/mate-system-monitor/distinfo
--- a/sysutils/mate-system-monitor/distinfo     Thu Jun 16 09:58:19 2016 +0000
+++ b/sysutils/mate-system-monitor/distinfo     Thu Jun 16 10:00:46 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2016/06/08 13:03:18 joerg Exp $
+$NetBSD: distinfo,v 1.4 2016/06/16 10:00:46 youri Exp $
 
 SHA1 (mate-system-monitor-1.14.0.tar.xz) = a9045ce34fe9c116b6afae08b04030ab9c2287ae
 RMD160 (mate-system-monitor-1.14.0.tar.xz) = 42351dd35cf4f1510423adf1ef91c9aa79ab1980
 SHA512 (mate-system-monitor-1.14.0.tar.xz) = f19fa0241228be8ec8600db43e71495750039288292ba5714489a84acb3e5cc9f4c87d39a63d29a0fc6f907af6ecc319382cd4276ae2de1125bba059d5b24be5
 Size (mate-system-monitor-1.14.0.tar.xz) = 2135464 bytes
-SHA1 (patch-src_lsof.cpp) = 338c9e5246404877045232fd6f4e00158788390d
+SHA1 (patch-src_lsof.cpp) = 43966231211f547af5d4bf9862331d8e563d3754
diff -r 6eea64b94d0b -r 65d382aad6d9 sysutils/mate-system-monitor/patches/patch-src_lsof.cpp
--- a/sysutils/mate-system-monitor/patches/patch-src_lsof.cpp   Thu Jun 16 09:58:19 2016 +0000
+++ b/sysutils/mate-system-monitor/patches/patch-src_lsof.cpp   Thu Jun 16 10:00:46 2016 +0000
@@ -1,15 +1,18 @@
-$NetBSD: patch-src_lsof.cpp,v 1.2 2016/06/08 13:03:18 joerg Exp $
+$NetBSD: patch-src_lsof.cpp,v 1.3 2016/06/16 10:00:46 youri Exp $
 
 Casting temporaries to references is not valid.
+Submitted upstream.
 
---- src/lsof.cpp.orig  2016-06-04 18:57:52.613319665 +0000
+--- src/lsof.cpp.orig  2016-04-05 16:12:54.000000000 +0000
 +++ src/lsof.cpp
-@@ -137,7 +137,7 @@ namespace
+@@ -137,7 +137,9 @@ namespace
  
          void update_count(unsigned count)
          {
 -            string s = static_cast<std::ostringstream&>(std::ostringstream() << count).str();
-+            string s = (std::ostringstream() << count).str();
++              std::ostringstream ss;
++                      ss << count;
++              string s = ss.str();
              gtk_label_set_text(this->count, s.c_str());
          }
  



Home | Main Index | Thread Index | Old Index