summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2016-06-08 13:03:18 +0000
committerjoerg <joerg>2016-06-08 13:03:18 +0000
commitca37a33436286606034b5ca15239457e92a43395 (patch)
tree7a3623a60d1a5e6685f4ded6ff6966483e5e4c62 /sysutils
parent679690ff73b1ac44e3c4bfed3ad54f6c6263f9e7 (diff)
downloadpkgsrc-ca37a33436286606034b5ca15239457e92a43395.tar.gz
Just drop the cast.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mate-system-monitor/distinfo4
-rw-r--r--sysutils/mate-system-monitor/patches/patch-src_lsof.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/mate-system-monitor/distinfo b/sysutils/mate-system-monitor/distinfo
index 239bd0c7447..41bafd50936 100644
--- a/sysutils/mate-system-monitor/distinfo
+++ b/sysutils/mate-system-monitor/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2016/06/08 13:00:44 youri Exp $
+$NetBSD: distinfo,v 1.3 2016/06/08 13:03:18 joerg 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
+SHA1 (patch-src_lsof.cpp) = 338c9e5246404877045232fd6f4e00158788390d
diff --git a/sysutils/mate-system-monitor/patches/patch-src_lsof.cpp b/sysutils/mate-system-monitor/patches/patch-src_lsof.cpp
index 1a652bf526c..68aaec57a4a 100644
--- a/sysutils/mate-system-monitor/patches/patch-src_lsof.cpp
+++ b/sysutils/mate-system-monitor/patches/patch-src_lsof.cpp
@@ -1,15 +1,15 @@
-$NetBSD: patch-src_lsof.cpp,v 1.1 2016/06/08 13:00:44 youri Exp $
+$NetBSD: patch-src_lsof.cpp,v 1.2 2016/06/08 13:03:18 joerg Exp $
-Fix build on clang.
+Casting temporaries to references is not valid.
---- src/lsof.cpp.orig 2016-04-05 16:12:54.000000000 +0000
+--- src/lsof.cpp.orig 2016-06-04 18:57:52.613319665 +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();
++ string s = (std::ostringstream() << count).str();
gtk_label_set_text(this->count, s.c_str());
}