$NetBSD: patch-aq,v 1.2 2002/08/25 19:23:52 jlam Exp $ --- kded/kbuildsycoca.cpp.orig Tue May 21 15:37:35 2002 +++ kded/kbuildsycoca.cpp @@ -494,7 +494,9 @@ static const char *appName = "kbuildsycoca"; static const char *appVersion = "1.0"; -int main(int argc, char **argv) +extern "C" int kdemain(int argc, char **argv); + +int kdemain(int argc, char **argv) { KLocale::setMainCatalogue("kdelibs"); KAboutData d(appName, I18N_NOOP("KBuildSycoca"), appVersion,