summaryrefslogtreecommitdiff
path: root/games/kdegames3/patches/patch-ad
blob: 87b1b0b49e32f0ba766ae3c1804c1aa2de797e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.1.1.1 2002/05/31 14:02:55 skrll Exp $

--- kbackgammon/main.cpp.orig	Wed Oct 10 18:13:31 2001
+++ kbackgammon/main.cpp
@@ -38,7 +38,9 @@
  * Main program doesn't do much - more or less standard stuff. Right 
  * after creating a KBg object, control is passed to it.
  */
-int main(int argc, char *argv[])
+extern "C" int kdemain(int, char *[]);
+
+int kdemain(int argc, char *argv[])
 {
 	KAboutData about(PROG_NAME, I18N_NOOP("KBackgammon"), PROG_VERSION, description, 
 			 KAboutData::License_GPL, "(C) 1999-2001 Jens Hoefkens", notice,