summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/patches/patch-aq
blob: 9762d75c98e66c4d8c54e7a4e24b823963d6f5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aq,v 1.3 2003/04/01 12:27:13 markd Exp $

--- kded/kbuildsycoca.cpp.orig	Sun Mar  9 14:22:02 2003
+++ kded/kbuildsycoca.cpp
@@ -509,7 +509,9 @@ public:
    ~WaitForSignal() { kapp->eventLoop()->exitLoop(); }
 };
 
-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,