summaryrefslogtreecommitdiff
path: root/misc/kdeutils3/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdeutils3/patches/patch-ac')
-rw-r--r--misc/kdeutils3/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/kdeutils3/patches/patch-ac b/misc/kdeutils3/patches/patch-ac
new file mode 100644
index 00000000000..63828fa01cd
--- /dev/null
+++ b/misc/kdeutils3/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:42:36 skrll Exp $
+
+--- kcalc/kcalc.cpp.orig Wed May 8 19:31:32 2002
++++ kcalc/kcalc.cpp
+@@ -2274,7 +2274,9 @@
+ //-------------------------------------------------------------------------
+ // Name: main(int argc, char *argv[])
+ //-------------------------------------------------------------------------
+-int main(int argc, char *argv[])
++extern "C" int kdemain(int, char *[]);
++
++int kdemain(int argc, char *argv[])
+ {
+ KAboutData aboutData( "kcalc", I18N_NOOP("KCalc"),
+ version, description, KAboutData::License_GPL,