Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] Re: (PR#12332) client compile problems
Home

[Freeciv-Dev] Re: (PR#12332) client compile problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: infyquest@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12332) client compile problems
From: "Egor Vyscrebentsov" <evyscr@xxxxxxxxx>
Date: Thu, 24 Feb 2005 02:34:21 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12332 >

On Tue, 22 Feb 2005 21:00:28 -0800
Vijay Kiran Kamuju <infyquest@xxxxxxxxx> wrote:

VKK>im using latest cvs
VKK>
VKK>im getting this problem for xaw3d-client and also gtk2-client for HEAD 
branch
VKK>
VKK>if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I. -I./.. -I./../include 
-I../../utilit
VKK>y -I../../common -I../../intl -I../../common/aicore -I../../intl 
-I./../agents
VKK>-I/usr/X11R6/include   -g -O2 -Werror -Wall -Wpointer-arith -Wcast-align 
-Wmissi
VKK>ng-prototypes -Wmissing-declarations -MT plrdlg.o -MD -MP -MF 
".deps/plrdlg.Tpo"
VKK> -c -o plrdlg.o plrdlg.c; \
VKK>then mv -f ".deps/plrdlg.Tpo" ".deps/plrdlg.Po"; else rm -f 
".deps/plrdlg.Tpo";
VKK>exit 1; fi
VKK>plrdlg.c: In function `update_players_dialog':
VKK>plrdlg.c:237: error: structure has no member named `turn_done'
VKK>make[4]: *** [plrdlg.o] Error 1
VKK>make[4]: Leaving directory `/home/vijaykiran/cvs/freeciv/client/gui-xaw'
VKK>make[3]: *** [all] Error 2
VKK>make[3]: Leaving directory `/home/vijaykiran/cvs/freeciv/client/gui-xaw'
VKK>make[2]: *** [all-recursive] Error 1
VKK>make[2]: Leaving directory `/home/vijaykiran/cvs/freeciv/client'
VKK>make[1]: *** [all-recursive] Error 1
VKK>make[1]: Leaving directory `/home/vijaykiran/cvs/freeciv'
VKK>make: *** [all] Error 2

Attached patch should fix the problem for gui-xaw.

Thanks, evyscr.

Index: client/gui-xaw/plrdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-xaw/plrdlg.c,v
retrieving revision 1.42
diff -u -r1.42 plrdlg.c
--- client/gui-xaw/plrdlg.c     15 Feb 2005 16:43:23 -0000      1.42
+++ client/gui-xaw/plrdlg.c     24 Feb 2005 10:12:18 -0000
@@ -234,7 +234,7 @@
       /* text for state */
       if(game.players[i].is_alive) {
        if(game.players[i].is_connected) {
-         if(game.players[i].turn_done)
+         if(game.players[i].phase_done)
            sz_strlcpy(statebuf, _("done"));
          else
            sz_strlcpy(statebuf, _("moving"));

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