aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-05-23 19:43:05 +0800
committermakc <makc@FreeBSD.org>2013-05-23 19:43:05 +0800
commite297cfbed8ad3c9aa4e5e2cc2a637e29d5f282ca (patch)
treeb56957220c2107d3f8704c8e42984077998552ce
parent0a61b396395e779076b22aa3849e33d41829a443 (diff)
downloadfreebsd-ports-gnome-e297cfbed8ad3c9aa4e5e2cc2a637e29d5f282ca.tar.gz
freebsd-ports-gnome-e297cfbed8ad3c9aa4e5e2cc2a637e29d5f282ca.tar.zst
freebsd-ports-gnome-e297cfbed8ad3c9aa4e5e2cc2a637e29d5f282ca.zip
Add upstream patch to fix build with clang
-rw-r--r--net/kdenetwork4/files/patch-kget__core__transferhistorystore.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/kdenetwork4/files/patch-kget__core__transferhistorystore.cpp b/net/kdenetwork4/files/patch-kget__core__transferhistorystore.cpp
new file mode 100644
index 000000000000..9eaedbcb2bbf
--- /dev/null
+++ b/net/kdenetwork4/files/patch-kget__core__transferhistorystore.cpp
@@ -0,0 +1,25 @@
+------------------------------------------------------------------------
+r1355676 | rkcosta | 2013-05-20 16:16:41 +0300 (Mon, 20 May 2013) | 6 lines
+
+Fix most-vexing parse error introduced in r1345874.
+
+By the way, why is this revision only in branches/KDE/4.10 and not in trunk?
+
+CCMAIL: david.narvaez@computer.org
+
+
+Index: kget/core/transferhistorystore.cpp
+===================================================================
+--- kget/core/transferhistorystore.cpp (revision 1355675)
++++ kget/core/transferhistorystore.cpp (revision 1355676)
+@@ -554,7 +554,7 @@
+ void NepomukStore::load()
+ {
+ Nepomuk::Query::QueryServiceClient * queryService = new Nepomuk::Query::QueryServiceClient(this);
+- Nepomuk::Query::ResourceTypeTerm historyTypeTerm(Nepomuk::Types::Class(Nepomuk::HistoryItem::resourceTypeUri()));
++ Nepomuk::Query::ResourceTypeTerm historyTypeTerm((Nepomuk::Types::Class(Nepomuk::HistoryItem::resourceTypeUri())));
+ Nepomuk::Query::Query historyQuery(historyTypeTerm);
+
+ connect(queryService, SIGNAL(newEntries(const QList<Nepomuk::Query::Result>&)), this, SLOT(loadResult(const QList<Nepomuk::Query::Result>&)));
+
+------------------------------------------------------------------------