From owner-svn-ports-all@FreeBSD.ORG Fri Nov 23 08:59:11 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF2094B4; Fri, 23 Nov 2012 08:59:11 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8AA8FC08; Fri, 23 Nov 2012 08:59:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAN8xBRL076703; Fri, 23 Nov 2012 08:59:11 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAN8xBJ2076702; Fri, 23 Nov 2012 08:59:11 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201211230859.qAN8xBJ2076702@svn.freebsd.org> From: Kevin Lo Date: Fri, 23 Nov 2012 08:59:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307674 - head/x11/kdelibs4/files X-SVN-Group: ports-head 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.14 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: Fri, 23 Nov 2012 08:59:11 -0000 Author: kevlo Date: Fri Nov 23 08:59:11 2012 New Revision: 307674 URL: http://svnweb.freebsd.org/changeset/ports/307674 Log: Apply an upstream patch that fixes build with clang. Feature safe: yes Added: head/x11/kdelibs4/files/patch-kparts__componentfactory.h (contents, props changed) Added: head/x11/kdelibs4/files/patch-kparts__componentfactory.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/kdelibs4/files/patch-kparts__componentfactory.h Fri Nov 23 08:59:11 2012 (r307674) @@ -0,0 +1,29 @@ +--- kparts/componentfactory.h.orig 2012-11-23 16:20:14.000000000 +0800 ++++ kparts/componentfactory.h 2012-11-23 16:20:22.000000000 +0800 +@@ -28,6 +28,8 @@ + #endif + #include + ++#include ++ + namespace KParts + { + namespace ComponentFactory +@@ -81,7 +83,7 @@ + const QStringList &args = QStringList(), + int *error = 0 ) + { +- KLibrary *library = KLibLoader::self()->library( QString( libraryName ) ); // compatibility hack ++ KLibrary *library = KLibLoader::self()->library( QFile::decodeName( libraryName ) ); // compatibility hack + if ( !library ) + { + if ( error ) +@@ -135,7 +137,7 @@ + return 0; + } + +- return createPartInstanceFromLibrary( library.toLocal8Bit().data(), parentWidget, ++ return createPartInstanceFromLibrary( QFile::encodeName( library ).constData(), parentWidget, + parent, args, error ); + } + #endif