Your message dated Tue, 25 Oct 2005 14:03:11 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#335672: fixed in xmoto 0.1.6.dfsg-5
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; 25 Oct 2005 10:45:06 +0000
>From [EMAIL PROTECTED] Tue Oct 25 03:45:06 2005
Return-path: <[EMAIL PROTECTED]>
Received: from darkcity.gna.ch [195.226.6.9] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EUMIj-0001eZ-00; Tue, 25 Oct 2005 03:45:06 -0700
Received: from localhost (localhost [127.0.0.1])
        by darkcity.gna.ch (Postfix) with ESMTP id 0AF35DE45D;
        Tue, 25 Oct 2005 12:45:04 +0200 (CEST)
Received: from unknown by localhost (amavisd-new, unix socket)
 id client-XXk8sElV; Tue, 25 Oct 2005 12:45:02 +0200 (CEST)
Received: by darkcity.gna.ch (Postfix, from userid 65534)
        id A54E9DE459; Tue, 25 Oct 2005 12:45:02 +0200 (CEST)
Received: from localhost (80-218-118-161.dclient.hispeed.ch [80.218.118.161])
        (using TLSv1 with cipher AES256-SHA (256/256 bits))
        (No client certificate requested)
        by darkcity.gna.ch (Postfix) with ESMTP id E96C9DE453;
        Tue, 25 Oct 2005 12:45:01 +0200 (CEST)
Received: from daenzer by localhost with local (Exim 4.54)
        id 1EUMIo-00019r-R1; Tue, 25 Oct 2005 12:45:10 +0200
Content-Type: multipart/mixed; boundary="===============0805090742=="
MIME-Version: 1.0
From: Michel Daenzer <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: doesn't work on big endian platforms
X-Mailer: reportbug 3.17
Date: Tue, 25 Oct 2005 12:45:10 +0200
Message-Id: <[EMAIL PROTECTED]>
X-Virus-Scanned: by amavisd-new at gna.ch
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-Level: 
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

This is a multi-part MIME message sent by reportbug.

--===============0805090742==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: xmoto
Version: 0.1.6.dfsg-4
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On big endian platforms such as my Apple Titanium PowerBook, xmoto fails to
start:

User directory: /home/michdaen/.xmoto
Data directory: /usr/share/xmoto
Initializing binary data package...

GL: Mesa DRI R200 20050831 AGP 4x PowerPC/Altivec TCL (Tungsten Graphics,
Inc.)
GL: using Vertex Buffer Objects
Loading profiles...
 1 profile loaded
Initializing sound system...
Loading data...
** Warning ** : TextureManager::loadTexture() : texture
'Textures/UI/Loading.png' not found or invalid
fatal exception : invalid or missing texture file


I tracked down the problem to an endianness bug when reading .dat files. The
attached patch makes it work fine for me.


- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (102, 'experimental'), (101, 
'breezy-security'), (101, 'breezy')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-powerpc
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)

Versions of packages xmoto depends on:
ii  libc6         2.3.5-7                    GNU C Library: Shared libraries an
ii  libgcc1       1:4.0.2-2                  GCC support library
ii  libgl1-mesa-d 6.3.2-2.2                  A free implementation of the OpenG
ii  libjpeg62     6b-10                      The Independent JPEG Group's JPEG 
ii  libogg0       1.1.2-1                    Ogg Bitstream Library
hi  libpng12-0    1.2.8rel-5                 PNG library - runtime
ii  libsdl1.2debi 1.2.7+1.2.8cvs20041007-5.3 Simple DirectMedia Layer
ii  libstdc++6    4.0.2-2                    The GNU Standard C++ Library v3
ii  libvorbis0a   1.1.0-1                    The Vorbis General Audio Compressi
ii  libvorbisfile 1.1.0-1                    The Vorbis General Audio Compressi
ii  xmoto-data    0.1.6.dfsg-4               2D motocross platform game

xmoto recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDXgy1WoGvjmrbsgARAsTuAJ9ifXPU8f52uNFj2Kb9Aq8ZZ9uXIACZAZon
VKggrlgXYIOozOREiOuf9OA=
=swgf
-----END PGP SIGNATURE-----

--===============0805090742==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xmoto.diff"

diff -up -ru xmoto-0.1.6.dfsg.orig/src/VFileIO.cpp 
xmoto-0.1.6.dfsg/src/VFileIO.cpp
--- xmoto-0.1.6.dfsg.orig/src/VFileIO.cpp       2005-10-03 15:43:18.000000000 
+0200
+++ xmoto-0.1.6.dfsg/src/VFileIO.cpp    2005-10-25 12:37:42.598390397 +0200
@@ -834,7 +834,9 @@ namespace vapp {
           
           /* Read file size */
           int nSize;
-          fread(&nSize,4,1,fp);
+          unsigned char nSizeBuf[4];
+          fread(nSizeBuf,4,1,fp);
+          nSize = nSizeBuf[0] | nSizeBuf[1] << 8 | nSizeBuf[2] << 16 | 
nSizeBuf[3] << 24;
           
           if(m_nNumPackFiles < MAX_PACK_FILES) {
             m_PackFiles[m_nNumPackFiles].Name = cBuf;

--===============0805090742==--

---------------------------------------
Received: (at 335672-close) by bugs.debian.org; 25 Oct 2005 21:12:53 +0000
>From [EMAIL PROTECTED] Tue Oct 25 14:12:53 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EUVwt-0001Y5-00; Tue, 25 Oct 2005 14:03:11 -0700
From: Samuel Mimram <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#335672: fixed in xmoto 0.1.6.dfsg-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 25 Oct 2005 14:03:11 -0700
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-Level: 
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

Source: xmoto
Source-Version: 0.1.6.dfsg-5

We believe that the bug you reported is fixed in the latest version of
xmoto, which is due to be installed in the Debian FTP archive:

xmoto-data_0.1.6.dfsg-5_all.deb
  to pool/main/x/xmoto/xmoto-data_0.1.6.dfsg-5_all.deb
xmoto_0.1.6.dfsg-5.diff.gz
  to pool/main/x/xmoto/xmoto_0.1.6.dfsg-5.diff.gz
xmoto_0.1.6.dfsg-5.dsc
  to pool/main/x/xmoto/xmoto_0.1.6.dfsg-5.dsc
xmoto_0.1.6.dfsg-5_i386.deb
  to pool/main/x/xmoto/xmoto_0.1.6.dfsg-5_i386.deb



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.
Samuel Mimram <[EMAIL PROTECTED]> (supplier of updated xmoto 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: Tue, 25 Oct 2005 20:48:24 +0200
Source: xmoto
Binary: xmoto-data xmoto
Architecture: source i386 all
Version: 0.1.6.dfsg-5
Distribution: unstable
Urgency: low
Maintainer: Samuel Mimram <[EMAIL PROTECTED]>
Changed-By: Samuel Mimram <[EMAIL PROTECTED]>
Description: 
 xmoto      - 2D motocross platform game
 xmoto-data - 2D motocross platform game
Closes: 335672
Changes: 
 xmoto (0.1.6.dfsg-5) unstable; urgency=low
 .
   * We're back on any arch.
   * Added arch64.dpatch to build cleanly on 64 bit archs (thanks Yann
     Vernier).
   * Added bigendian.dpatch to solve the fatal exception on big endian archs
     (thanks Michel Daenzer), closes: #335672.
Files: 
 9219e82d44fa357b7d57c163869cfe54 736 games optional xmoto_0.1.6.dfsg-5.dsc
 0cd68da1518b3066d202ce6884a8c064 8069 games optional xmoto_0.1.6.dfsg-5.diff.gz
 f35dbf346e2c4ba7475c462b6bd9ab58 2257948 games optional 
xmoto-data_0.1.6.dfsg-5_all.deb
 318c50544a3e397c4f59b81579159fde 524706 games optional 
xmoto_0.1.6.dfsg-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDXoBdIae1O4AJae8RAv8dAJwLfXMLEKjAfD70fz7SFZjEjC98RgCeNjU+
XnBTNcfI/zfjP52e6yLktps=
=4HWW
-----END PGP SIGNATURE-----


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

Reply via email to