summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-10-20 09:40:21 +0000
committertnn <tnn@pkgsrc.org>2015-10-20 09:40:21 +0000
commit49730a60737e1d8a9c6d35989a7d20261be90d30 (patch)
treef7486078f0dae1741c83572e05efd5eb4705867f /sysutils
parenta2f4e18abf2022b0e45343b7452ae10ae332d253 (diff)
downloadpkgsrc-49730a60737e1d8a9c6d35989a7d20261be90d30.tar.gz
packages that use libsigc++ need -std=c++11 now
approved by wiz@
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-system-monitor/Makefile3
-rw-r--r--sysutils/gnome-system-monitor/distinfo3
-rw-r--r--sysutils/gnome-system-monitor/patches/patch-src_lsof.cpp18
-rw-r--r--sysutils/gnome-vfsmm/Makefile3
4 files changed, 24 insertions, 3 deletions
diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile
index cabb38e13c9..48dc134808f 100644
--- a/sysutils/gnome-system-monitor/Makefile
+++ b/sysutils/gnome-system-monitor/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2015/04/25 14:24:52 tnn Exp $
+# $NetBSD: Makefile,v 1.46 2015/10/20 09:40:22 tnn Exp $
#
DISTNAME= gnome-system-monitor-2.28.2
@@ -16,6 +16,7 @@ USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf gmake intltool msgfmt pkg-config
USE_LANGUAGES= c c++
+CXXFLAGS+= -std=c++11
CONFLICTS+= gnome2-system-monitor-[0-9]*
diff --git a/sysutils/gnome-system-monitor/distinfo b/sysutils/gnome-system-monitor/distinfo
index ab67d8f6038..8e437583105 100644
--- a/sysutils/gnome-system-monitor/distinfo
+++ b/sysutils/gnome-system-monitor/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2012/05/07 01:28:43 dholland Exp $
+$NetBSD: distinfo,v 1.17 2015/10/20 09:40:22 tnn Exp $
SHA1 (gnome-system-monitor-2.28.2.tar.bz2) = 5fab2473914663320cf961c2bbe1a13f019edef3
RMD160 (gnome-system-monitor-2.28.2.tar.bz2) = f2a31f4eae60a6d344cb74e6f235fb27082aecb7
@@ -7,6 +7,7 @@ SHA1 (patch-ab) = d0398e6309aa979ef270656ba61eac5d8f47aca2
SHA1 (patch-ac) = db0f1b7481e08d403ba74fa28f463f1b6023139f
SHA1 (patch-src_interface_h) = f600813d41e11e17fb60da518db08a7de9a4f89f
SHA1 (patch-src_load-graph_h) = 24d7c0acd4d6ca16883b66efc8f7d2c9dfe88d96
+SHA1 (patch-src_lsof.cpp) = 6a45147d7d5926e8dbdffdb95e71ecca5ce97bf5
SHA1 (patch-src_lsof_h) = cf5bbf20e4899d9d48238a63f92f15b50f1dacc9
SHA1 (patch-src_openfiles_h) = 08c37eb8ad84135f73f7fd38b2f10a76afbe8fbc
SHA1 (patch-src_procman__gnomesu_h) = 32f06a1fffb2c0b2011dce7a5d8ddb292fafe8e5
diff --git a/sysutils/gnome-system-monitor/patches/patch-src_lsof.cpp b/sysutils/gnome-system-monitor/patches/patch-src_lsof.cpp
new file mode 100644
index 00000000000..576b2b35662
--- /dev/null
+++ b/sysutils/gnome-system-monitor/patches/patch-src_lsof.cpp
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_lsof.cpp,v 1.1 2015/10/20 09:40:22 tnn Exp $
+
+lsof.cpp:140:24: error: non-const lvalue reference to type
+ 'basic_ostringstream<[3 * ...]>' cannot bind to a temporary of type
+ 'basic_ostringstream<[3 * ...]>'
+ ...s = static_cast<std::ostringstream&>(std::ostringstream() << count).str();
+
+--- src/lsof.cpp.orig 2010-02-09 13:23:26.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());
+ }
+
diff --git a/sysutils/gnome-vfsmm/Makefile b/sysutils/gnome-vfsmm/Makefile
index 372c3259210..1213ecfcf67 100644
--- a/sysutils/gnome-vfsmm/Makefile
+++ b/sysutils/gnome-vfsmm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2015/04/25 14:24:52 tnn Exp $
+# $NetBSD: Makefile,v 1.51 2015/10/20 09:40:22 tnn Exp $
DISTNAME= gnome-vfsmm-2.26.0
PKGREVISION= 26
@@ -13,6 +13,7 @@ COMMENT= C++ bindings for gnome-vfs
#BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
USE_LANGUAGES= c c++
+CXXFLAGS+= -std=c++11
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gm4 gmake pkg-config