freebsd-ports/x11/kde4-runtime/files/patch-nepomuk__services__storage__resourcemerger.cpp
Raphael Kubo da Costa 9136223a53 Fix a few build issues with clang.
Import my commit f1794e4 upstream (based on the PR's patch) as well as the
patch to describeresourcejob.h in the PR (which does not apply upstream because
the line it adds is already there).

No need to bump PORTREVISION, this commit only fixes the build for people who
had never been able to build the port anyway.

PR:		ports/163699
Submitted by:	Heath Nielson <heathn@gmail.com>
Approved by:	avilla (mentor, implicit)
2011-12-31 02:53:48 +00:00

10 lines
622 B
C++

--- ./nepomuk/services/storage/resourcemerger.cpp
+++ ./nepomuk/services/storage/resourcemerger.cpp
@@ -499,7 +499,7 @@ Soprano::Node Nepomuk::ResourceMerger::resolveUnmappedNode(const Soprano::Node&
QUrl newUri = createResourceUri();
m_mappings.insert( QUrl(node.toN3()), newUri );
- Soprano::Node dateTime( Soprano::LiteralValue( QDateTime::currentDateTime() ) );
+ Soprano::Node dateTime( ( Soprano::LiteralValue( QDateTime::currentDateTime() ) ) );
m_model->addStatement( newUri, NAO::created(), dateTime, m_graph );
m_model->addStatement( newUri, NAO::lastModified(), dateTime, m_graph );