$NetBSD: patch-ag,v 1.1.1.1 2002/05/31 13:59:29 skrll Exp $ --- ksirc/ksirc.cpp.orig Thu Feb 28 10:57:55 2002 +++ ksirc/ksirc.cpp @@ -59,7 +59,9 @@ } }; -int main( int argc, char ** argv ) +extern "C" int kdemain( int, char **); + +int kdemain( int argc, char ** argv ) { KAboutData aboutData( "ksirc", I18N_NOOP("KSirc"), KSIRC_VERSION, description, KAboutData::License_Artistic,