Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911)
Home

[Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: new connect dialog (ver 1) (PR#1911)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Tue, 13 Aug 2002 10:53:31 +0200

On Mon, Aug 12, 2002 at 11:45:45PM -0700, Mike Kaufman wrote:

> to apply:

> patch -p1 < connect1.diff
> ./autogen.sh --enable-client=(whichever one you want)

With gcc 2.95.3, I need the following patch to compile:

--- common/mem.c.orig   Tue Aug 13 10:33:05 2002
+++ common/mem.c        Tue Aug 13 10:41:10 2002
@@ -121,8 +121,10 @@
 {
   if (!str) return NULL;
 
+  {/* block needed for declaration */
   char *dest = (char *)fc_real_malloc(strlen(str)+1, called_as, line, file);
   /* no need to check whether dest is non-NULL! */
   strcpy(dest, str);
   return dest;
+  }
 }

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


[Prev in Thread] Current Thread [Next in Thread]