Your message dated Wed, 28 Dec 2005 08:24:19 +0100
with message-id <[EMAIL PROTECTED]>
and subject line ggz-kde-games: FTBFS
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Dec 2004 21:26:54 +0000
>From [EMAIL PROTECTED] Tue Dec 21 13:26:54 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c158178.adsl.hansenet.de (localhost.localdomain) 
[213.39.158.178] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CgrWw-0007Vp-00; Tue, 21 Dec 2004 13:26:54 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Cgrbi-0007fy-J1; Tue, 21 Dec 2004 22:31:50 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ggz-kde-games: FTBFS (amd64/gcc-4.0)
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 21 Dec 2004 22:31:50 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: ggz-kde-games
Severity: normal
Tags: patch

With the attached patch 'ggz-kde-games' can be compiled
on amd64 using gcc-4.0. It includes a patch which was already
necessary for gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ggz-kde-games-0.0.7/kdots/kdots.cpp ./kdots/kdots.cpp
--- ../tmp-orig/ggz-kde-games-0.0.7/kdots/kdots.cpp     2002-09-22 
19:17:18.000000000 +0200
+++ ./kdots/kdots.cpp   2004-12-21 19:43:49.000000000 +0100
@@ -148,39 +148,39 @@
 
        switch(op)
        {
-               case proto->msgseat:
+               case KDotsProto::msgseat:
                        proto->getSeat();
                        if(proto->num == 1) emit signalColor(QColor(0, 0, 250));
                        else if(proto->num == 0) emit signalColor(QColor(0, 0, 
50));
                        else emit signalColor(QColor(255, 255, 255));
                        break;
-               case proto->msgplayers:
+               case KDotsProto::msgplayers:
                        proto->getPlayers();
                        if(proto->state != proto->statechoose) proto->state = 
proto->statewait;
                        break;
-               case proto->msgoptions:
+               case KDotsProto::msgoptions:
                        proto->getOptions();
                        dots->resizeBoard(proto->width - 1, proto->height - 1);
                        dots->refreshBoard();
                        break;
-               case proto->reqmove:
+               case KDotsProto::reqmove:
                        emit signalStatus(i18n("Your turn."));
                        proto->state = proto->statemove;
                        proto->turn = proto->num;
                        break;
-               case proto->msgmoveh:
+               case KDotsProto::msgmoveh:
                        proto->getOppMove(proto->sndmoveh);
                        dots->setBorderValue(proto->movex, proto->movey, 
QDots::right, proto->turn, 1);
                        dots->repaint();
                        if(proto->num < 0) proto->turn = !proto->turn;
                        break;
-               case proto->msgmovev:
+               case KDotsProto::msgmovev:
                        proto->getOppMove(proto->sndmovev);
                        dots->setBorderValue(proto->movex, proto->movey, 
QDots::down, proto->turn, 1);
                        dots->repaint();
                        if(proto->num < 0) proto->turn = !proto->turn;
                        break;
-               case proto->rspmove:
+               case KDotsProto::rspmove:
                        if(proto->getMove() != -1)
                        {
                                dots->setBorderValue(proto->m_lastx, 
proto->m_lasty, proto->m_lastdir, proto->turn, 1);
@@ -192,7 +192,7 @@
                                emit signalStatus(i18n("Invalid move, please 
try again!"));
                        }
                        break;
-               case proto->msggameover:
+               case KDotsProto::msggameover:
                        status = proto->getStatus();
                        if(status == -1) exit(-1);
                        proto->state = proto->statechoose;
@@ -208,10 +208,10 @@
                                exit(-1);
                        }
                        break;
-               case proto->sndsync:
+               case KDotsProto::sndsync:
                        gamesync();
                        break;
-               case proto->reqoptions:
+               case KDotsProto::reqoptions:
                        slotOptions();
                        break;
                default:
diff -urN ../tmp-orig/ggz-kde-games-0.0.7/koenig/game.cc ./koenig/game.cc
--- ../tmp-orig/ggz-kde-games-0.0.7/koenig/game.cc      2003-05-10 
17:43:26.000000000 +0200
+++ ./koenig/game.cc    2004-12-21 19:58:19.000000000 +0100
@@ -95,10 +95,10 @@
                case CHESS_MSG_PLAYERS:
                        kdDebug(12101) << "Got an MSG_PLAYERS" << endl;
 
-                       if (GGZ_SEAT_OPEN != (chessInfo.assign[0] = 
ggz->getChar()))
+                       if (GGZ_SEAT_OPEN != (int)((chessInfo.assign[0] = 
ggz->getChar())))
                                chessInfo.name[0] = ggz->getString();
 
-                       if (GGZ_SEAT_OPEN != (chessInfo.assign[1] = 
ggz->getChar()))
+                       if (GGZ_SEAT_OPEN != (int)((chessInfo.assign[1] = 
(int)ggz->getChar())))
                                chessInfo.name[1] = ggz->getString();
 
                        kdDebug(12101) << "Got players " << chessInfo.name[0] 
<< " and " << chessInfo.name[1] << endl;
diff -urN ../tmp-orig/ggz-kde-games-0.0.7/ktictactux/ktictactux.cpp 
./ktictactux/ktictactux.cpp
--- ../tmp-orig/ggz-kde-games-0.0.7/ktictactux/ktictactux.cpp   2003-03-29 
22:35:08.000000000 +0100
+++ ./ktictactux/ktictactux.cpp 2004-12-21 19:48:53.000000000 +0100
@@ -82,15 +82,15 @@
        QWhiteFrame *tmp;
        int id;
 
-       if(proto->state != proto->statemove) return;
+       if(proto->state != (int)proto->statemove) return;
        if(m_turn != proto->num) return;
 
        //id = widget->winId() - m_firstid;
        tmp = reinterpret_cast<QWhiteFrame*>(widget);
        id = tmp->id();
 
-       if(proto->board[id % 3][id / 3] == proto->player) return;
-       if(proto->board[id % 3][id / 3] == proto->opponent) return;
+       if(proto->board[id % 3][id / 3] == (int)proto->player) return;
+       if(proto->board[id % 3][id / 3] == (int)proto->opponent) return;
 
        if(m_opponent == PLAYER_AI)
        {
@@ -110,7 +110,7 @@
 // Prepare your turn
 void KTicTacTux::yourTurn()
 {
-       if((m_opponent == PLAYER_AI) || (proto->state == proto->statemove)) 
emit signalStatus(i18n("Your turn"));
+       if((m_opponent == PLAYER_AI) || (proto->state == 
(int)proto->statemove)) emit signalStatus(i18n("Your turn"));
        proto->state = proto->statemove;
 }
 
@@ -166,7 +166,7 @@
        // Check for draw (no empty fields left)
        for(int j = 0; j < 3; j++)
                for(int i = 0; i < 3; i++)
-                       if(proto->board[i][j] == proto->none)
+                       if(proto->board[i][j] == (int)proto->none)
                        {
                                m_x = i;
                                m_y = j;
@@ -279,14 +279,14 @@
                        {
                                if((proto->board[i][j] == c)
                                && (proto->board[2 - i][2 - j] != c)
-                               && (proto->board[2 - i][2 - j] != proto->none))
+                               && (proto->board[2 - i][2 - j] != 
(int)proto->none))
                                {
-                                       if(proto->board[i][2 - j] == 
proto->none)
+                                       if(proto->board[i][2 - j] == 
(int)proto->none)
                                        {
                                                m_x = i;
                                                m_y = 2 - j;
                                        }
-                                       if(proto->board[2 - i][j] == 
proto->none)
+                                       if(proto->board[2 - i][j] == 
(int)proto->none)
                                        {
                                                m_x = 2 - i;
                                                m_y = j;
@@ -315,17 +315,17 @@
        {
                x = xo + xp * i;
                y = yo + yp * i;
-               if((proto->board[trip(x)][trip(y)] != proto->none)
-               && (proto->board[trip(x + xp)][trip(y + yp)] == 
proto->board[trip(x)][trip(y)]))
+               if((proto->board[trip(x)][trip(y)] != (int)proto->none)
+               && (proto->board[trip(x + xp)][trip(y + yp)] == 
(int)proto->board[trip(x)][trip(y)]))
                {
                        if(proto->board[trip(x + xp * 2)][trip(y + yp * 2)] != 
proto->board[trip(x)][trip(y)])
                        {
-                               if((proto->board[trip(x + xp * 2)][trip(y + yp 
* 2)] == proto->none) && (!m_seewinner))
+                               if((proto->board[trip(x + xp * 2)][trip(y + yp 
* 2)] == (int)proto->none) && (!m_seewinner))
                                {
                                        m_x = trip(x + xp * 2);
                                        m_y = trip(y + yp * 2);
                                        // take unlimited chance
-                                       if(proto->board[trip(x)][trip(y)] == 
proto->opponent) m_seewinner = 1;
+                                       if(proto->board[trip(x)][trip(y)] == 
(int)proto->opponent) m_seewinner = 1;
                                }
                        }
                        else m_winner = proto->board[trip(x + xp * 2)][trip(y + 
yp * 2)];
@@ -383,33 +383,33 @@
 
        switch(op)
        {
-               case proto->msgseat:
+               case KTicTacTuxProto::msgseat:
                        proto->getSeat();
                        break;
-               case proto->msgplayers:
+               case KTicTacTuxProto::msgplayers:
                        proto->getPlayers();
                        proto->state = proto->statewait;
                        if((proto->num >= 0) && (proto->names[!proto->num][0]))
                                emit signalScore(i18n("Network game with 
%1").arg(proto->names[!proto->num]));
                        break;
-               case proto->reqmove:
+               case KTicTacTuxProto::reqmove:
                        proto->state = proto->statemove;
                        m_turn = proto->num;
                        emit signalStatus(i18n("Your move"));
                        break;
-               case proto->rspmove:
+               case KTicTacTuxProto::rspmove:
                        switch(proto->getMoveStatus())
                        {
-                               case proto->errstate:
+                               case KTicTacTuxProto::errstate:
                                        emit signalStatus(i18n("*server*"));
                                        break;
-                               case proto->errturn:
+                               case KTicTacTuxProto::errturn:
                                        emit signalStatus(i18n("*turn*"));
                                        break;
-                               case proto->errbound:
+                               case KTicTacTuxProto::errbound:
                                        emit signalStatus(i18n("*bounds*"));
                                        break;
-                               case proto->errfull:
+                               case KTicTacTuxProto::errfull:
                                        emit signalStatus(i18n("*occupied*"));
                                        break;
                                default:
@@ -417,18 +417,18 @@
                        }
                        getNextTurn();
                        break;
-               case proto->msgmove:
+               case KTicTacTuxProto::msgmove:
                        proto->getOpponentMove();
                        if(proto->num < 0) emit signalStatus(i18n("Watching the 
game"));
                        break;
-               case proto->sndsync:
+               case KTicTacTuxProto::sndsync:
                        proto->getSync();
                        break;
-               case proto->sndstats:
+               case KTicTacTuxProto::sndstats:
                        proto->getStatistics();
                        emit signalNetworkScore(proto->stats[0], 
proto->stats[1]);
                        break;
-               case proto->msggameover:
+               case KTicTacTuxProto::msggameover:
                        proto->getGameOver();
                        proto->state = proto->statedone;
                        gameOver();
@@ -444,10 +444,10 @@
        {
                switch(proto->board[i % 3][i / 3])
                {
-                       case proto->player:
+                       case KTicTacTuxProto::player:
                                frame[i % 3][i / 
3]->setPaletteBackgroundPixmap(QPixmap(m_t1));
                                break;
-                       case proto->opponent:
+                       case KTicTacTuxProto::opponent:
                                frame[i % 3][i / 
3]->setPaletteBackgroundPixmap(QPixmap(m_t2));
                                break;
                        default:

---------------------------------------
Received: (at 286734-done) by bugs.debian.org; 28 Dec 2005 07:24:28 +0000
>From [EMAIL PROTECTED] Tue Dec 27 23:24:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from e176043018.adsl.alicedsl.de ([85.176.43.18] helo=kat.ainf.net)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1ErVfg-0001xE-EK
        for [EMAIL PROTECTED]; Tue, 27 Dec 2005 23:24:28 -0800
Received: from aj by kat.ainf.net with local (Exim 4.54)
        id 1ErVfX-0007U5-KO; Wed, 28 Dec 2005 08:24:19 +0100
To: [EMAIL PROTECTED]
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ggz-kde-games: FTBFS
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 28 Dec 2005 08:24:19 +0100
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 16

The package has been removed from unstable.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to