From owner-svn-ports-all@freebsd.org Sat Jan 6 22:33:13 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9EC3DF6A30; Sat, 6 Jan 2018 22:33:13 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5BD12747; Sat, 6 Jan 2018 22:33:13 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B4A4188B6; Sat, 6 Jan 2018 22:33:13 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w06MXDix092908; Sat, 6 Jan 2018 22:33:13 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w06MXCw9092905; Sat, 6 Jan 2018 22:33:12 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201801062233.w06MXCw9092905@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sat, 6 Jan 2018 22:33:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458298 - in head/textproc/soprano: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/textproc/soprano: . files X-SVN-Commit-Revision: 458298 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 22:33:14 -0000 Author: tcberner Date: Sat Jan 6 22:33:12 2018 New Revision: 458298 URL: https://svnweb.freebsd.org/changeset/ports/458298 Log: textproc/soprano, fix build with clang6 PR: 224945 Reported by: jbeich Added: head/textproc/soprano/files/ head/textproc/soprano/files/patch-soprano_pluginmanager.cpp (contents, props changed) head/textproc/soprano/files/patch-soprano_sopranodirs.cpp (contents, props changed) Modified: head/textproc/soprano/Makefile Modified: head/textproc/soprano/Makefile ============================================================================== --- head/textproc/soprano/Makefile Sat Jan 6 22:11:58 2018 (r458297) +++ head/textproc/soprano/Makefile Sat Jan 6 22:33:12 2018 (r458298) @@ -3,7 +3,7 @@ PORTNAME= soprano PORTVERSION= 2.9.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/Soprano/${PORTVERSION} Added: head/textproc/soprano/files/patch-soprano_pluginmanager.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/soprano/files/patch-soprano_pluginmanager.cpp Sat Jan 6 22:33:12 2018 (r458298) @@ -0,0 +1,17 @@ +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" ) ); + } Added: head/textproc/soprano/files/patch-soprano_sopranodirs.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/soprano/files/patch-soprano_sopranodirs.cpp Sat Jan 6 22:33:12 2018 (r458298) @@ -0,0 +1,25 @@ +error: invalid suffix on literal; C++11 requires a space between literal and identifier + paths << QLatin1String( SOPRANO_PREFIX"/lib"SOPRANO_LIB_SUFFIX ); + ^ +--- soprano/sopranodirs.cpp.orig 2018-01-06 22:23:48 UTC ++++ soprano/sopranodirs.cpp +@@ -124,14 +124,14 @@ QStringList Soprano::envDirList( const char* var ) + QStringList Soprano::libDirs() + { + QStringList paths = QCoreApplication::libraryPaths(); +- paths << QLatin1String( SOPRANO_PREFIX"/lib"SOPRANO_LIB_SUFFIX ); ++ paths << QLatin1String( SOPRANO_PREFIX "/lib" SOPRANO_LIB_SUFFIX ); + #ifdef Q_OS_WIN +- paths << QLatin1String( SOPRANO_PREFIX"/bin" ); ++ paths << QLatin1String( SOPRANO_PREFIX "/bin" ); + paths << getWinPrefix() + QLatin1String( "/bin" ); +- paths << getWinPrefix() + QLatin1String( "/lib"SOPRANO_LIB_SUFFIX ); ++ paths << getWinPrefix() + QLatin1String( "/lib" SOPRANO_LIB_SUFFIX ); + #else +- paths << QLatin1String( "/usr/lib"SOPRANO_LIB_SUFFIX ); +- paths << QLatin1String( "/usr/local/lib"SOPRANO_LIB_SUFFIX ); ++ paths << QLatin1String( "/usr/lib" SOPRANO_LIB_SUFFIX ); ++ paths << QLatin1String( "/usr/local/lib" SOPRANO_LIB_SUFFIX ); + paths += Soprano::envDirList( "LD_LIBRARY_PATH" ); + #endif + return paths;