Subject: pkg/19506: KDE3 won't compile -- make in kdebase-3.0.4/kcontrol/kfontinst/kfontinst/Config.cpp gets an error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrose+mtr.netnews@dbc.mtview.ca.us>
List: netbsd-bugs
Date: 12/23/2002 10:20:23
>Number: 19506
>Category: pkg
>Synopsis: KDE3 won't compile -- make in kdebase-3.0.4/kcontrol/kfontinst/kfontinst/Config.cpp gets an error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 23 10:21:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Marshall Rose
>Release: 1.6-current
>Organization:
Dover Beach Consulting, Inc.
>Environment:
NetBSD ryo-ohki 1.6K NetBSD 1.6K (RYO-OHKI) #0: Sat Dec 21 13:10:04 PST 2002
>Description:
KDE3's xftint.h says the prototype for XftDirScan is XftDirScan (XftFontSet *set, const char *dir);
XFree86's current Xft.h says the prototype takes a third argument.
thus, when building KDE3 you get all the way down to kcontrol/kfontinst/kontinst before the make blows up...
after you fix that, you'll get a second complaint about "XftValueList" not being declared in xftint.h.
if you add the third param to XftDirScan and comment out XftListValueListCompare, then it compiles.
>How-To-Repeat:
cd /usr/pkgsrc/x11/kdebase3
make
>Fix:
edit KDE3's xftint.h ???
>Release-Note:
>Audit-Trail:
>Unformatted: