From danny@ricin.com  Wed Jan 18 19:39:17 2006
Return-Path: <danny@ricin.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B771616A420
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Jan 2006 19:39:17 +0000 (GMT)
	(envelope-from danny@ricin.com)
Received: from smtpq3.tilbu1.nb.home.nl (smtpq3.tilbu1.nb.home.nl [213.51.146.202])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2981E43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Jan 2006 19:39:16 +0000 (GMT)
	(envelope-from danny@ricin.com)
Received: from [213.51.146.188] (port=33954 helo=smtp3.tilbu1.nb.home.nl)
	by smtpq3.tilbu1.nb.home.nl with esmtp (Exim 4.30)
	id 1EzJ9H-0006ab-3p; Wed, 18 Jan 2006 20:39:15 +0100
Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:59603)
	by smtp3.tilbu1.nb.home.nl with smtp (Exim 4.30)
	id 1EzJ9F-0001cn-RI; Wed, 18 Jan 2006 20:39:13 +0100
Received: by cp464173-a.dbsch1.nb.home.nl (sSMTP sendmail emulation); Wed, 18 Jan 2006 19:36:22 +0000
Message-Id: <20060118193916.2981E43D45@mx1.FreeBSD.org>
Date: Wed, 18 Jan 2006 19:36:22 +0000
From: "D7" <danny@ricin.com>
Reply-To: Danny Pansters <danny@ricin.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: danny@ricin.com
Subject: [maintainer] x11-toolkits/py-kde: fix build problem with KDE 3.5
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         91965
>Category:       ports
>Synopsis:       [maintainer] x11-toolkits/py-kde: fix build problem with KDE 3.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 18 19:40:04 GMT 2006
>Closed-Date:    Fri Jan 20 22:56:11 GMT 2006
>Last-Modified:  Fri Jan 20 22:56:11 GMT 2006
>Originator:     Danny Pansters
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD desktop.homenet 6.0-STABLE FreeBSD 6.0-STABLE #6: Sat Nov 5 19:10:14 UTC 2005 danny@desktop.homenet:/usr/obj/usr/src/sys/DESKTOP i386


	
>Description:
	Fails to build with KDE 3.5. Turns out to be a known problem:
	http://mats.imk.fraunhofer.de/pipermail/pykde/2005-December/011603.html

	Also attempt to fix sparc64 build on 7 by upping the number of concatenated
	cpp files generated by SIP. Pointyhat will show if this works.

	Bumped PORTREVISION (because patchfile added).
>How-To-Repeat:
	Install KDE 3.5 and build py-kde.
>Fix:

--- py-kde.diff begins here ---
diff -ruN x11-toolkits/py-kde/Makefile x11-toolkits/py-kde.new/Makefile
--- x11-toolkits/py-kde/Makefile	Fri Dec  2 13:05:57 2005
+++ x11-toolkits/py-kde.new/Makefile	Tue Jan 17 21:31:27 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	kde
 PORTVERSION=	4.0.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	x11-toolkits python kde
 MASTER_SITES=	http://www.river-bank.demon.co.uk/download/PyKDE2/ \
 		http://freebsd.ricin.com/ports/distfiles/
@@ -40,6 +40,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "i386"
+.if ${ARCH} == "sparc64"
+ARGS+=		-j 3
+.endif
 ARGS+=		-j 2
 .endif
 .if defined(WITH_DEBUG)
diff -ruN x11-toolkits/py-kde/files/patch-sip__kdecore__fixx11h.sip x11-toolkits/py-kde.new/files/patch-sip__kdecore__fixx11h.sip
--- x11-toolkits/py-kde/files/patch-sip__kdecore__fixx11h.sip	Thu Jan  1 00:00:00 1970
+++ x11-toolkits/py-kde.new/files/patch-sip__kdecore__fixx11h.sip	Tue Jan 17 21:25:50 2006
@@ -0,0 +1,10 @@
+--- sip/kdecore/fixx11h.sip.orig	Tue Jan 17 12:07:33 2006
++++ sip/kdecore/fixx11h.sip	Tue Jan 17 12:07:57 2006
+@@ -24,6 +24,7 @@
+ // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ 
+ %ModuleHeaderCode
++#include <X11/X.h>
+ #include <fixx11h.h>
+ %End
+ 
--- py-kde.diff ends here ---


>Release-Note:
>Audit-Trail:

From: Danny Pansters <danny@ricin.com>
To: bug-followup@freebsd.org,
 danny@ricin.com
Cc:  
Subject: Re: ports/91965: [maintainer] x11-toolkits/py-kde: fix build problem with KDE 3.5
Date: Fri, 20 Jan 2006 22:45:24 +0000

 Superseded by ports/92080. Can be closed.
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jan 20 22:55:40 UTC 2006 
State-Changed-Why:  
Superceded by ports/92080. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91965 
>Unformatted:
