Subject: pkg/31434: misc/koffice fails to compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martijn van Buul <martijnb@atlas.ipv6.stack.nl>
List: pkgsrc-bugs
Date: 09/30/2005 22:32:00
>Number:         31434
>Category:       pkg
>Synopsis:       misc/koffice fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 30 22:32:00 +0000 2005
>Originator:     Martijn van Buul
>Release:        NetBSD 3.99.9
>Organization:
	
>Environment:
	
	
System: NetBSD atlas.ipv6.stack.nl 3.99.9 NetBSD 3.99.9 (ATLAS) #0: Mon Sep 26 23:58:18 CEST 2005 martijnb@atlas.ipv6.stack.nl:/usr/obj/sys/arch/i386/compile/ATLAS i386
Architecture: i386
Machine: i386
>Description:
	misc/koffice fails to compile. qt-3.3.5 sends its regards.
	
	I tried to patch it similiarly to the way Adam patched the kde 
	packages. See the attached diff.

>How-To-Repeat:
	try to update misc/koffice after upgrading qt.
>Fix:
	Apply the following patch:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/koffice/Makefile,v
retrieving revision 1.63
diff -r1.63 Makefile
45a46,61
> # a fix for qt-3.3.5, please remove if qt-3.3.6 (or newer) solves the problem
> SUBST_CLASSES+=		hints
> SUBST_STAGE.hints=	post-patch
> SUBST_MESSAGE.hints=	"Fix includehints."
> SUBST_FILES.hints=	krita/ui/widgets/kis_wdg_autogradient.ui \
> 			krita/plugins/colorspaceconversion/wdgconvertcolorspace.ui \
> 			krita/plugins/convolutionfilters/kis_custom_convolution_filter_configuration_base_widget.ui \
> 			krita/plugins/screenshot/ksnapshotwidget.ui \
> 			krita/ui/wdgcolorsettings.ui \
> 			krita/ui/wdglayerbox.ui \
> 			krita/ui/wdgnewimage.ui \
> 			krita/ui/kis_previewwidgetbase.ui \
> 			kpresenter/imageEffectBase.ui
> 
> SUBST_FILTER_CMD.hints=	${GREP} -v includehint
> 

>Unformatted: