Complete.Org: Mailing Lists: Archives: freeciv-dev: September 1999:
Re: [Freeciv-Dev] Support of differents platform,
Home

Re: [Freeciv-Dev] Support of differents platform,

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Nicolas Brunel <brunel@xxxxxxxxxxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Support of differents platform,
From: Andy Black <ablack@xxxxxxxxxxxxxx>
Date: Wed, 1 Sep 1999 20:30:26 -0600

At 12:11 AM +0000 8/28/99, Nicolas Brunel wrote:
>Hello,
>
>   with my metaserver patch, I break the mac version of FreeCiv.

Actually, you don't.  The only changes needed are in the folowing patchs.
Note: the mac version doesn't, and probably won't support alternate
metaservers.  The reason is I don't want to allow a few advanced options.
(well, at least while I'm working on it:-)).

Andy

Index: meta.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/meta.c,v
retrieving revision 1.18
diff -u -2 -r1.18 meta.c
--- meta.c      1999/08/27 22:03:51     1.18
+++ meta.c      1999/09/02 02:21:58
@@ -60,8 +60,8 @@
 InetAddress serv_addr;
 #else /* Unix network globals */
-extern char metaserver_addr[];
 static int                     sockfd,n,in_size;
 static struct sockaddr_in      cli_addr,serv_addr;
 #endif /* end network global selector */
+extern char metaserver_addr[];

 int send_to_metaserver(char *desc, char *info)
@@ -122,5 +122,5 @@
   if (err1 == 0)
   {
-    err1=OTInetStringToAddress(ref, servername,&hinfo);
+    err1=OTInetStringToAddress(ref, servername, &hinfo);
     serv_addr.fHost=hinfo.addrs[0];
     bad = ((serv_addr.fHost == 0) || (err1 != 0));

Index: civserver.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/civserver.c,v
retrieving revision 1.116
diff -u -2 -r1.116 civserver.c
--- civserver.c 1999/08/28 06:25:34     1.116
+++ civserver.c 1999/09/02 02:24:50
@@ -1692,14 +1692,15 @@
   }
 }
-/*  --file     F       implmented
-    --gamelog F implmented
-    --help             not needed?
-    --log F            implmented
-    --meta             implmented
-    --port N   implmented
-    --read F   implmented
-    --server H **not implmented***
-    --debug N  implmented
-    --version  not needed?
+/*  --file     F               implmented
+    --gamelog F        implmented
+    --help                     not needed?
+    --log F                    implmented
+    --meta                     implmented
+    --port N           implmented
+    --read F           implmented
+    --server H         **not implmented**
+    --debug N          implmented
+    --version          not needed?
+    --Metaserver       **not implmented**
 */





[Prev in Thread] Current Thread [Next in Thread]
  • Re: [Freeciv-Dev] Support of differents platform,, Andy Black <=