opnsense-ports/textproc/soprano/files/patch-soprano_pluginmanager.cpp
Franco Fichtner d92f6bb96e */*: sync with upstream
Taken from: HardenedBSD
2018-01-08 13:44:41 +01:00

17 lines
1.1 KiB
C++

error: invalid suffix on literal; C++11 requires a space between literal and identifier
[-Wreserved-user-defined-literal]
fileSearchPaths << file.fileName().section( "/", 0, -5,
QString::SectionIncludeTrailingSep ) + QLatin1String( "lib"SOPRANO_LIB_SUFFIX );
^
--- soprano/pluginmanager.cpp.orig 2013-10-09 17:22:28 UTC
+++ soprano/pluginmanager.cpp
@@ -43,7 +43,7 @@ namespace {
fileSearchPaths << file.fileName().section( '/', 0, -2 );
#ifndef Q_OS_WIN
// the lib folder in the same prefix
- fileSearchPaths << file.fileName().section( "/", 0, -5, QString::SectionIncludeTrailingSep ) + QLatin1String( "lib"SOPRANO_LIB_SUFFIX );
+ fileSearchPaths << file.fileName().section( "/", 0, -5, QString::SectionIncludeTrailingSep ) + QLatin1String( "lib" SOPRANO_LIB_SUFFIX );
#endif
return Soprano::findLibraryPath( file.library(), fileSearchPaths, QStringList() << QLatin1String( "soprano" ) );
}