--- Begin Message ---
Package: xbox-raincoat
Version: 0.10-1
Severity: serious
Tags: patch
When building 'xbox-raincoat' on amd64/unstable,
I get the following error:
gcc -O2 -Wall -Werror -o ./bin/raincoat src/raincoat.c src/BootFlash.c
cc1: warnings being treated as errors
src/raincoat.c: In function 'main':
src/raincoat.c:390: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
make[1]: *** [raincoat] Error 1
make[1]: Leaving directory `/xbox-raincoat-0.10'
With the attached patch 'xbox-raincoat' can be compiled on amd64 with gcc-4.1.
Regards
Andreas Jochens
diff -urN ../tmp-orig/xbox-raincoat-0.10/src/raincoat.c ./src/raincoat.c
--- ../tmp-orig/xbox-raincoat-0.10/src/raincoat.c 2005-08-11 18:06:04.000000000 +0000
+++ ./src/raincoat.c 2006-06-20 10:03:31.000000000 +0000
@@ -387,7 +387,7 @@
// Add the flash.
if((--nCountMaximumFlashTypes)==0) { //
// Warn when the last possible flash is going to be added.
- printf(" (note, raincoat only supports %d flash types, rest ignored)\n", (sizeof(aknownflashtype)/sizeof(KNOWN_FLASH_TYPE))-1);
+ printf(" (note, raincoat only supports %ld flash types, rest ignored)\n", (sizeof(aknownflashtype)/sizeof(KNOWN_FLASH_TYPE))-1);
}
/*
printf("DEBUG: Added to pos %i\n", nCountSeen);
--- End Message ---
--- Begin Message ---
- To: 374624-close@bugs.debian.org
- Subject: Bug#374624: fixed in xbox-raincoat 0.10-2
- From: Michael Ablassmeier <abi@debian.org>
- Date: Wed, 21 Jun 2006 04:02:12 -0700
- Message-id: <E1Ft0TM-00033b-PQ@spohr.debian.org>
Source: xbox-raincoat
Source-Version: 0.10-2
We believe that the bug you reported is fixed in the latest version of
xbox-raincoat, which is due to be installed in the Debian FTP archive:
xbox-raincoat_0.10-2.diff.gz
to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-2.diff.gz
xbox-raincoat_0.10-2.dsc
to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-2.dsc
xbox-raincoat_0.10-2_amd64.deb
to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-2_amd64.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 374624@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Ablassmeier <abi@debian.org> (supplier of updated xbox-raincoat 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 21 Jun 2006 12:57:26 +0200
Source: xbox-raincoat
Binary: xbox-raincoat
Architecture: source amd64
Version: 0.10-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Michael Ablassmeier <abi@debian.org>
Description:
xbox-raincoat - Xbox BIOS flasher
Closes: 374624
Changes:
xbox-raincoat (0.10-2) unstable; urgency=low
.
* QA Upload
* Add debian/patches/02_long.diff: fix compilation on amd64, thanks
Andreas Jochens for the patch and Bugreport (Closes: #374624)
* Update debian/copyright
* Conforms to new Standards Version
Files:
9e412984268bd943c45721767b1f1727 746 misc extra xbox-raincoat_0.10-2.dsc
ac0f5d25c2bfa9aae48b291b9f77e744 3058 misc extra xbox-raincoat_0.10-2.diff.gz
9ce2cfa9bff2a0e9d68a2f4b21c151c1 15818 misc extra xbox-raincoat_0.10-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEmSatEFV7g4B8rCURAgGwAJ9y5cmR3l8/wox/Kbr0TNCRx1VFnwCcDcD8
Jq4/JRpoDpb1SHDd32pC+DA=
=7aF2
-----END PGP SIGNATURE-----
--- End Message ---