summaryrefslogtreecommitdiff
path: root/x11/kdebase3/patches/patch-ay
blob: 6df370e9d3400f8f8ab0591ebae4a6535c461542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ay,v 1.1.1.1 2002/05/31 13:18:58 skrll Exp $

--- kdeprint/kjobviewer/main.cpp.orig	Sat Dec 29 17:10:49 2001
+++ kdeprint/kjobviewer/main.cpp
@@ -33,7 +33,9 @@
 };
 
 
-int main(int argc, char *argv[])
+extern "C" int kdemain(int argc, char *argv[]);
+
+int kdemain(int argc, char *argv[])
 {
 	KAboutData	aboutData("kjobviewer","KJobViewer","0.1",I18N_NOOP("A print job viewer"),KAboutData::License_GPL,"(c) 2001, Michael Goffioul", 0, "http://printing.kde.org");
 	aboutData.addAuthor("Michael Goffioul",0,"goffioul@imec.be");