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:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e433e4cc744
branches:  trunk
changeset: 348149:1e433e4cc744
user:      youri <youri%pkgsrc.org@localhost>
date:      Wed Jun 08 13:00:44 2016 +0000

description:
mate-system-monitor:

Fix build with clang.

diffstat:

 sysutils/mate-system-monitor/distinfo                   |   3 ++-
 sysutils/mate-system-monitor/patches/patch-src_lsof.cpp |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 0d6814a0afa5 -r 1e433e4cc744 sysutils/mate-system-monitor/distinfo
--- a/sysutils/mate-system-monitor/distinfo     Wed Jun 08 10:30:46 2016 +0000
+++ b/sysutils/mate-system-monitor/distinfo     Wed Jun 08 13:00:44 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/05/21 19:16:04 youri Exp $
+$NetBSD: distinfo,v 1.2 2016/06/08 13:00:44 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) = 2ad9df6cdf66a42e408107700c04abae145011a2
diff -r 0d6814a0afa5 -r 1e433e4cc744 sysutils/mate-system-monitor/patches/patch-src_lsof.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/mate-system-monitor/patches/patch-src_lsof.cpp   Wed Jun 08 13:00:44 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_lsof.cpp,v 1.1 2016/06/08 13:00:44 youri Exp $
+
+Fix build on clang.
+
+--- src/lsof.cpp.orig  2016-04-05 16:12:54.000000000 +0000
++++ src/lsof.cpp
+@@ -137,7 +137,7 @@ namespace
+ 
+         void update_count(unsigned count)
+         {
+-            string s = static_cast<std::ostringstream&>(std::ostringstream() << count).str();
++            string s = static_cast<const std::ostringstream&>(std::ostringstream() << count).str();
+             gtk_label_set_text(this->count, s.c_str());
+         }
+ 



Home | Main Index | Thread Index | Old Index