summaryrefslogtreecommitdiffstats
path: root/system/kcollectd/kcollectd-0.9-boost.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/kcollectd/kcollectd-0.9-boost.patch')
-rw-r--r--system/kcollectd/kcollectd-0.9-boost.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/system/kcollectd/kcollectd-0.9-boost.patch b/system/kcollectd/kcollectd-0.9-boost.patch
deleted file mode 100644
index 1576c2b402..0000000000
--- a/system/kcollectd/kcollectd-0.9-boost.patch
+++ /dev/null
@@ -1,59 +0,0 @@
---- kcollectd-0.9.orig/kcollectd/kcollectd.cc
-+++ kcollectd-0.9/kcollectd/kcollectd.cc
-@@ -73,7 +73,7 @@
- gui->show();
- }
- }
-- catch(basic_filesystem_error<path> &e) {
-+ catch(const std::exception &e) {
- KMessageBox::error(0, i18n("Failed to read collectd-structure at \'%1\'\n"
- "Terminating.", QString(RRD_BASEDIR)));
- exit(1);
---- kcollectd-0.9.orig/kcollectd/gui.cc
-+++ kcollectd-0.9/kcollectd/gui.cc
-@@ -127,21 +127,21 @@
- const directory_iterator end_itr;
- for (directory_iterator host(rrdpath); host != end_itr; ++host ) {
- if (is_directory(*host)) {
-- QTreeWidgetItem *hostitem = mkItem(listview, host->leaf());
-+ QTreeWidgetItem *hostitem = mkItem(listview, host->path().filename().string());
- hostitem->setFlags(hostitem->flags() & ~Qt::ItemIsSelectable);
- for (directory_iterator sensor(*host); sensor != end_itr; ++sensor ) {
- if (is_directory(*sensor)) {
-- QTreeWidgetItem *sensoritem = mkItem(hostitem, sensor->leaf());
-+ QTreeWidgetItem *sensoritem = mkItem(hostitem, sensor->path().filename().string());
- sensoritem->setFlags(sensoritem->flags() & ~Qt::ItemIsSelectable);
- for (directory_iterator rrd(*sensor); rrd != end_itr; ++rrd ) {
- if (is_regular(*rrd) && extension(*rrd) == ".rrd") {
- QTreeWidgetItem *rrditem = mkItem(sensoritem, basename(*rrd));
- rrditem->setFlags(rrditem->flags() & ~Qt::ItemIsSelectable);
- std::ostringstream info;
-- info << host->leaf() << delimiter
-- << sensor->leaf() << delimiter
-+ info << host->path().filename().string() << delimiter
-+ << sensor->path().filename().string() << delimiter
- << basename(*rrd);
-- get_datasources(rrd->string(), info.str(), rrditem);
-+ get_datasources(rrd->path().string(), info.str(), rrditem);
- }
- }
- }
---- kcollectd-0.9.orig/doc/en/index.docbook
-+++ kcollectd-0.9/doc/en/index.docbook
-@@ -1,5 +1,5 @@
- <?xml version="1.0" ?>
--<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
-+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
- <!ENTITY kcollectd "<application>kcollectd 0.8</application>">
- <!ENTITY kappname "&kcollectd;">
- <!ENTITY package "kcollectd">
---- kcollectd-0.9.orig/po/de.po
-+++ kcollectd-0.9/po/de.po
-@@ -10,6 +10,7 @@
- "PO-Revision-Date: 2009-06-16 20:41+0200\n"
- "Last-Translator: M G Berberich <berberic@fmi.uni-passau.de>\n"
- "Language-Team: German <kde-i18n-de@kde.org>\n"
-+"Language: de\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"