Your message dated Fri, 14 Jan 2005 17:32:28 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#289678: fixed in widelands build9-1
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; 10 Jan 2005 14:16:55 +0000
>From [EMAIL PROTECTED] Mon Jan 10 06:16:55 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d009032.adsl.hansenet.de (localhost.localdomain) [80.171.9.32]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Co0Lm-0004se-00; Mon, 10 Jan 2005 06:16:54 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
id 1Co0Rg-000796-U2; Mon, 10 Jan 2005 15:23:00 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: widelands: FTBFS (amd64/gcc-4.0): 'Little16' was not declared in this
scope
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 10 Jan 2005 15:23:00 +0100
Delivered-To: [EMAIL PROTECTED]
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: widelands
Severity: normal
Tags: patch
When building 'widelands' on amd64 with gcc-4.0,
I get the following error:
src/filesystem.h:124: error: 'Little16' was not declared in this scope
src/filesystem.h: In member function 'int FileRead::Signed32(int)':
src/filesystem.h:125: error: 'Little32' was not declared in this scope
src/filesystem.h: In member function 'uint FileRead::Unsigned32(int)':
src/filesystem.h:126: error: 'Little32' was not declared in this scope
src/filesystem.h: In member function 'float FileRead::Float(int)':
src/filesystem.h:127: error: 'LittleFloat' was not declared in this scope
src/filesystem.h: In member function 'void FileWrite::Signed16(short int, int)':
src/filesystem.h:174: error: 'Little16' was not declared in this scope
src/filesystem.h: In member function 'void FileWrite::Unsigned16(ushort, int)':
src/filesystem.h:175: error: 'Little16' was not declared in this scope
src/filesystem.h: In member function 'void FileWrite::Signed32(int, int)':
src/filesystem.h:176: error: 'Little32' was not declared in this scope
src/filesystem.h: In member function 'void FileWrite::Unsigned32(uint, int)':
src/filesystem.h:177: error: 'Little32' was not declared in this scope
src/filesystem.h: In member function 'void FileWrite::Float(float, int)':
src/filesystem.h:178: error: 'LittleFloat' was not declared in this scope
make[1]: *** [src/native-release/building.o] Error 1
make[1]: Leaving directory `/widelands-build8'
make: *** [debian/stamp-makefile-build] Error 2
With the attached patch 'widelands' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/widelands-build8/src/machdep.h ./src/machdep.h
--- ../tmp-orig/widelands-build8/src/machdep.h 2004-09-23 17:39:40.000000000
+0200
+++ ./src/machdep.h 2005-01-10 14:30:02.717117664 +0100
@@ -24,7 +24,7 @@
// TODO: figure out a way to define these portably
// Currently supported: i386, PowerPC, Sparc
-#if defined (__ppc__)
+#if defined (__ppc__) || defined(__powerpc64__)
#undef P_LITTLE_ENDIAN
#define P_BIG_ENDIAN
#undef P_ALIGNMENT
@@ -32,7 +32,7 @@
#undef P_LITTLE_ENDIAN
#define P_BIG_ENDIAN
#define P_ALIGNMENT
-#elif defined (__i386__)
+#elif defined (__i386__) || defined(__x86_64__)
#undef P_BIG_ENDIAN
#define P_LITTLE_ENDIAN
#undef P_ALIGNMENT
diff -urN
../tmp-orig/widelands-build8/src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.cc
./src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.cc
---
../tmp-orig/widelands-build8/src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.cc
2004-09-23 17:39:39.000000000 +0200
+++ ./src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.cc
2005-01-10 14:52:33.115825856 +0100
@@ -132,7 +132,7 @@
// Remove from one list
- int index=((int)source->get_selection());
+ long index=((long)source->get_selection());
source->remove_entry(source->get_selection_index());
source->sort();
diff -urN ../tmp-orig/widelands-build8/src/fieldaction.cc ./src/fieldaction.cc
--- ../tmp-orig/widelands-build8/src/fieldaction.cc 2004-09-23
17:39:39.000000000 +0200
+++ ./src/fieldaction.cc 2005-01-10 14:39:35.699011176 +0100
@@ -107,7 +107,7 @@
*/
void BuildGrid::clickslot(int idx)
{
- int id = (int)get_data(idx);
+ long id = (long)get_data(idx);
buildclicked.call(id);
}
diff -urN ../tmp-orig/widelands-build8/src/game_debug_ui.cc
./src/game_debug_ui.cc
--- ../tmp-orig/widelands-build8/src/game_debug_ui.cc 2004-09-23
17:39:39.000000000 +0200
+++ ./src/game_debug_ui.cc 2005-01-10 14:40:21.555040000 +0100
@@ -362,7 +362,7 @@
*/
void FieldDebugWindow::open_bob(int idx)
{
- uint serial = (uint)m_ui_bobs->get_selection();
+ unsigned long serial = (unsigned long)m_ui_bobs->get_selection();
if (!serial)
return;
diff -urN ../tmp-orig/widelands-build8/src/interactive_base.cc
./src/interactive_base.cc
--- ../tmp-orig/widelands-build8/src/interactive_base.cc 2004-09-23
17:39:39.000000000 +0200
+++ ./src/interactive_base.cc 2005-01-10 14:40:58.220466008 +0100
@@ -446,7 +446,7 @@
Path *path = new Path(*m_buildroad);
if(m_egbase->is_game()) {
// Build the path as requested
-
static_cast<Game*>(m_egbase)->send_player_command(m_road_build_player,
CMD_BUILD_ROAD, (int)path, 0, 0);
+
static_cast<Game*>(m_egbase)->send_player_command(m_road_build_player,
CMD_BUILD_ROAD, (long)path, 0, 0);
} else {
get_egbase()->get_player(m_road_build_player)->build_road(path);
delete path;
diff -urN ../tmp-orig/widelands-build8/src/transport.cc ./src/transport.cc
--- ../tmp-orig/widelands-build8/src/transport.cc 2004-09-23
17:39:39.000000000 +0200
+++ ./src/transport.cc 2005-01-10 14:43:38.449107552 +0100
@@ -3656,7 +3656,7 @@
m_request_timer = true;
m_request_timer_time = game->get_gametime() + delta;
cq->queue(m_request_timer_time, SENDER_MAPOBJECT, CMD_CALL,
- (int)(&Economy::request_timer_cb),
m_trackserial, 0);
+ (long)(&Economy::request_timer_cb),
m_trackserial, 0);
}
---------------------------------------
Received: (at 289678-close) by bugs.debian.org; 14 Jan 2005 22:35:49 +0000
>From [EMAIL PROTECTED] Fri Jan 14 14:35:49 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Cpa2n-000102-00; Fri, 14 Jan 2005 14:35:49 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CpZzY-00088u-00; Fri, 14 Jan 2005 17:32:28 -0500
From: Martin Quinson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#289678: fixed in widelands build9-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 14 Jan 2005 17:32:28 -0500
Delivered-To: [EMAIL PROTECTED]
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-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: widelands
Source-Version: build9-1
We believe that the bug you reported is fixed in the latest version of
widelands, which is due to be installed in the Debian FTP archive:
widelands-data_build9-1_all.deb
to pool/main/w/widelands/widelands-data_build9-1_all.deb
widelands_build9-1.diff.gz
to pool/main/w/widelands/widelands_build9-1.diff.gz
widelands_build9-1.dsc
to pool/main/w/widelands/widelands_build9-1.dsc
widelands_build9-1_i386.deb
to pool/main/w/widelands/widelands_build9-1_i386.deb
widelands_build9.orig.tar.gz
to pool/main/w/widelands/widelands_build9.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Quinson <[EMAIL PROTECTED]> (supplier of updated widelands package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 14 Jan 2005 12:19:20 +0100
Source: widelands
Binary: widelands widelands-data
Architecture: source all i386
Version: build9-1
Distribution: unstable
Urgency: low
Maintainer: Martin Quinson <[EMAIL PROTECTED]>
Changed-By: Martin Quinson <[EMAIL PROTECTED]>
Description:
widelands - fantasy real-time strategy game
widelands-data - fantasy real-time strategy game (data files)
Closes: 289678 289750
Changes:
widelands (build9-1) unstable; urgency=low
.
* New upstream release.
* Remove the Knights.ttf font for licencing reasons (Thanks to Josh
Triplett for noticing and sorry for not having checked myself).
Vera.ttf is used instead, as done upstream.
(Closes: #289750)
* Add patch to port to AMD64 from Andreas Jochens (Thanks!).
(Closes: #289678)
Files:
80ff6f7d24e4c28bf48a1b773fec2d9d 749 games extra widelands_build9-1.dsc
bca14c2507ad5f463a64def9260a870b 2292945 games extra
widelands_build9.orig.tar.gz
e66437b1849fa7d35939163bd546bbe0 41032 games extra widelands_build9-1.diff.gz
c0bb2b11947953e4ebcc343d96784f30 1777608 games extra
widelands-data_build9-1_all.deb
c02d23b35408e8b9c66c77301da1ebc5 815306 games extra widelands_build9-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB6EP8IiC/MeFF8zQRAuD/AKCyczqDtkJwxsoI9UGrmyDN6402WQCfVKhm
wsfPfE16Qk1J5vwNQIbkyJU=
=WBBZ
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]