Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2012 14:16:17 -0500 (EST)
From:      Steve Wills <swills@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kde@FreeBSD.org
Subject:   ports/173688: [PATCH] x11/kdelibs: fix build on recent CURRENT
Message-ID:  <201211171916.qAHJGH7E041207@meatwad.mouf.net>
Resent-Message-ID: <201211171920.qAHJK0TA018155@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173688
>Category:       ports
>Synopsis:       [PATCH] x11/kdelibs: fix build on recent CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 17 19:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #12 r242847M: Sun Nov 11 22:13:25 EST
>Description:
- Fix build on recent current after CLANG_IS_CC

Obtained from upstream git repo

Port maintainer (kde@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- kdelibs-4.8.4_2.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 307523)
+++ Makefile	(working copy)
@@ -8,7 +8,7 @@
 
 PORTNAME=	kdelibs
 PORTVERSION=	${KDE4_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11 kde ipv6
 MASTER_SITES=	${MASTER_SITE_KDE}
 MASTER_SITE_SUBDIR=	${KDE4_BRANCH}/${PORTVERSION}/src
@@ -17,7 +17,7 @@
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Base set of libraries needed by KDE programs
 
-LIB_DEPENDS=	IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
+LIB_DEPENDS=	IlmImf:${PORTSDIR}/graphics/OpenEXR \
 		aspell.16:${PORTSDIR}/textproc/aspell \
 		jasper.4:${PORTSDIR}/graphics/jasper \
 		pcre.1:${PORTSDIR}/devel/pcre \
Index: files/patch-git_ca33e942
===================================================================
--- files/patch-git_ca33e942	(revision 0)
+++ files/patch-git_ca33e942	(working copy)
@@ -0,0 +1,40 @@
+commit ca33e942d8b6743361c174331070e76417029cca
+Author: Christoph Feck <christoph@maxiom.de>
+Date:   Thu Jul 19 16:17:02 2012 +0200
+
+    Fix QString <-> library name conversion
+    
+    BUG: 303771
+    FIXED-IN: 4.9.0
+
+diff --git kparts/componentfactory.h kparts/componentfactory.h
+index b3c216a..21a2852 100644
+--- kparts/componentfactory.h
++++ kparts/componentfactory.h
+@@ -28,6 +28,8 @@
+ #endif
+ #include <kmimetypetrader.h>
+ 
++#include <QtCore/QFile>
++
+ namespace KParts
+ {
+     namespace ComponentFactory
+@@ -81,7 +83,7 @@ namespace KParts
+                                           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 @@ namespace KParts
+                 return 0;
+             }
+ 
+-            return createPartInstanceFromLibrary<T>( library.toLocal8Bit().data(), parentWidget,
++            return createPartInstanceFromLibrary<T>( QFile::encodeName( library ).constData(), parentWidget,
+                                                      parent, args, error );
+         }
+ #endif

Property changes on: files/patch-git_ca33e942
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
--- kdelibs-4.8.4_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211171916.qAHJGH7E041207>