Your message dated Sun, 13 Mar 2005 09:47:41 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297863: fixed in xmahjongg 3.7-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; 3 Mar 2005 09:57:46 +0000
>From [EMAIL PROTECTED] Thu Mar 03 01:57:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1D6n5V-000866-00; Thu, 03 Mar 2005 01:57:45 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
id 1D6o1p-0004bg-VL; Thu, 03 Mar 2005 11:58:02 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: xmahjongg: FTBFS (amd64/gcc-4.0): cast from 'const char*' to 'int'
loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 03 Mar 2005 11:58:01 +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: xmahjongg
Severity: normal
Tags: patch
When building 'xmahjongg' on amd64 with gcc-4.0,
I get the following error:
c++ -Wall -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c permstr.cc
permstr.hh: In function 'int hashcode(PermString)':
permstr.hh:96: error: cast from 'const char*' to 'int' loses precision
make[1]: *** [permstr.o] Error 1
make[1]: Leaving directory `/xmahjongg-3.6.1'
make: *** [build-stamp] Error 2
With the attached patch 'xmahjongg' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/xmahjongg-3.6.1/permstr.hh ./permstr.hh
--- ../tmp-orig/xmahjongg-3.6.1/permstr.hh 2001-09-06 20:30:10.000000000
+0200
+++ ./permstr.hh 2005-03-03 11:36:02.600033103 +0100
@@ -90,10 +90,10 @@
return !(b == a);
}
-inline int
+inline long
hashcode(PermString s)
{
- return (int)(s.cc());
+ return (long)(s.cc());
}
#endif
---------------------------------------
Received: (at 297863-close) by bugs.debian.org; 13 Mar 2005 14:55:43 +0000
>From [EMAIL PROTECTED] Sun Mar 13 06:55:42 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 1DAUVK-0004QI-00; Sun, 13 Mar 2005 06:55:42 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DAUNZ-00051u-00; Sun, 13 Mar 2005 09:47:41 -0500
From: Dave Swegen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#297863: fixed in xmahjongg 3.7-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 13 Mar 2005 09:47:41 -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:
X-CrossAssassin-Score: 2
Source: xmahjongg
Source-Version: 3.7-1
We believe that the bug you reported is fixed in the latest version of
xmahjongg, which is due to be installed in the Debian FTP archive:
xmahjongg_3.7-1.diff.gz
to pool/main/x/xmahjongg/xmahjongg_3.7-1.diff.gz
xmahjongg_3.7-1.dsc
to pool/main/x/xmahjongg/xmahjongg_3.7-1.dsc
xmahjongg_3.7-1_i386.deb
to pool/main/x/xmahjongg/xmahjongg_3.7-1_i386.deb
xmahjongg_3.7.orig.tar.gz
to pool/main/x/xmahjongg/xmahjongg_3.7.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.
Dave Swegen <[EMAIL PROTECTED]> (supplier of updated xmahjongg 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, 11 Mar 2005 11:38:03 +0000
Source: xmahjongg
Binary: xmahjongg
Architecture: source i386
Version: 3.7-1
Distribution: unstable
Urgency: low
Maintainer: Dave Swegen <[EMAIL PROTECTED]>
Changed-By: Dave Swegen <[EMAIL PROTECTED]>
Description:
xmahjongg - tile-based solitaire game
Closes: 292851 297863
Changes:
xmahjongg (3.7-1) unstable; urgency=low
.
* New upstream release (closes: #297863, #292851)
Files:
6d1f0eef72eead6d09ca9094333101ba 570 games optional xmahjongg_3.7-1.dsc
9db5bf1b329b410220b7976cd9b3d374 551834 games optional
xmahjongg_3.7.orig.tar.gz
e2a8862542661d501f508b09e2ac9b64 1901 games optional xmahjongg_3.7-1.diff.gz
ae9066a6d4fc35942189095aa2aa9e85 437332 games optional xmahjongg_3.7-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCNEgzFE+F709t+LYRAm1qAKDN+jk6MBAUfyLYiToCZ56ZA3GTCwCeIIaa
vh9qqEaF6Wk0EOUzdxwh/Sw=
=mqG3
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]