Your message dated Mon, 13 Mar 2006 21:37:42 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297838: fixed in xclass 0.8.3-2
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)

--- Begin Message ---
Package: xclass
Severity: normal
Tags: patch

When building 'xclass' on amd64 with gcc-4.0,
I get the following error:

c++ -I../../include  -DOX_DEFAULT_POOL=\"/usr/share/xclass/icons\" 
-DOX_DEFAULT_ROOT=\"\"  -O2 -fPIC -c OXHtmlParse.cc
OXHtmlParse.cc: In member function 'void OXHtml::PrintList(OHtmlElement*, 
OHtmlElement*)':
OXHtmlParse.cc:1490: error: cast from 'OHtmlElement*' to 'int' loses precision
OXHtmlParse.cc:1494: error: cast from 'OHtmlElement*' to 'int' loses precision
make[3]: *** [OXHtmlParse.o] Error 1
make[3]: Leaving directory `/xclass-0.8.3/lib/libxclass'

With the attached patch 'xclass' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xclass-0.8.3/lib/libxclass/OXHtmlParse.cc 
./lib/libxclass/OXHtmlParse.cc
--- ../tmp-orig/xclass-0.8.3/lib/libxclass/OXHtmlParse.cc       2004-07-05 
16:05:57.000000000 +0200
+++ ./lib/libxclass/OXHtmlParse.cc      2005-03-03 09:33:30.000000000 +0100
@@ -1486,12 +1486,12 @@
         n = 1;
         z = "";
       }
-      printf("Block 0x%08x flags=%02x cnt=%d x=%d..%d y=%d..%d z=\"%.*s\"\n",
-        (int) p, p->flags, p->count, block->left, block->right,
+      printf("Block 0x%16lx flags=%02x cnt=%d x=%d..%d y=%d..%d z=\"%.*s\"\n",
+        (long) p, p->flags, p->count, block->left, block->right,
         block->top, block->bottom, n, z);
     } else {
-      printf("Token 0x%08x font=%2d color=%2d align=%d flags=0x%04x name=%s\n",
-        (int) p, p->style.font, p->style.color,
+      printf("Token 0x%16lx font=%2d color=%2d align=%d flags=0x%04x 
name=%s\n",
+        (long) p, p->style.font, p->style.color,
         p->style.align, p->style.flags, DumpToken(p));
     }
   }
diff -urN ../tmp-orig/xclass-0.8.3/lib/libxclass/OXHtmlSizer.cc 
./lib/libxclass/OXHtmlSizer.cc
--- ../tmp-orig/xclass-0.8.3/lib/libxclass/OXHtmlSizer.cc       2004-07-05 
16:05:57.000000000 +0200
+++ ./lib/libxclass/OXHtmlSizer.cc      2005-03-03 10:24:23.000000000 +0100
@@ -980,9 +980,9 @@
     }
 
     TRACE(HtmlTrace_Style,
-          ("Style of 0x%08x font=%02d color=%02d bg=%02d "
+          ("Style of 0x%16lx font=%02d color=%02d bg=%02d "
            "align=%d flags=0x%04x token=%s\n",
-           (int)p, p->style.font, p->style.color, p->style.bgcolor,
+           (long)p, p->style.font, p->style.color, p->style.bgcolor,
            p->style.align, p->style.flags, DumpToken(p)));
 
     p = p->pNext;


--- End Message ---
--- Begin Message ---
Source: xclass
Source-Version: 0.8.3-2

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

libxclass0-dev_0.8.3-2_i386.deb
  to pool/main/x/xclass/libxclass0-dev_0.8.3-2_i386.deb
libxclass0c2_0.8.3-2_i386.deb
  to pool/main/x/xclass/libxclass0c2_0.8.3-2_i386.deb
xclass-common_0.8.3-2_all.deb
  to pool/main/x/xclass/xclass-common_0.8.3-2_all.deb
xclass_0.8.3-2.diff.gz
  to pool/main/x/xclass/xclass_0.8.3-2.diff.gz
xclass_0.8.3-2.dsc
  to pool/main/x/xclass/xclass_0.8.3-2.dsc



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.
Ola Lundqvist <[EMAIL PROTECTED]> (supplier of updated xclass 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: Mon, 13 Mar 2006 21:15:58 +0100
Source: xclass
Binary: libxclass0c2 xclass-common libxclass0-dev
Architecture: source all i386
Version: 0.8.3-2
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[EMAIL PROTECTED]>
Changed-By: Ola Lundqvist <[EMAIL PROTECTED]>
Description: 
 libxclass0-dev - C++ GUI toolkit for X
 libxclass0c2 - C++ GUI toolkit for X
 xclass-common - common components for C++ GUI toolkit for X
Closes: 297838 320658 346806 356423
Changes: 
 xclass (0.8.3-2) unstable; urgency=low
 .
   * Maintainer upload, closes: #346806, #320658, #297838.
   * Correction for g++ 4.1 restrictions, closes: #356423.
     Thanks to Martin Michlmayr <[EMAIL PROTECTED]> for the fix.
   * Updated standards version to 3.6.2.
   * Updated to debhelper compatibility version 4.
Files: 
 423a09f3f68ad6abf583e3dfe708c3d2 665 - optional xclass_0.8.3-2.dsc
 194a5f7c8b4cfefa6557dc70094d11ef 49603 - optional xclass_0.8.3-2.diff.gz
 17f91dfdbf4557140f40c713a2d00876 182096 misc optional 
xclass-common_0.8.3-2_all.deb
 a39f9f160d0f37fde8f68f7e7a118e76 778610 libdevel optional 
libxclass0-dev_0.8.3-2_i386.deb
 6bbddc438606601a0615a0f122308141 2896 libs optional 
libxclass0c2_0.8.3-2_i386.deb

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

iD8DBQFEFdWJGKGxzw/lPdkRArCXAJ0Rt/diQ3UCJLsZxrup01rLAx6BNQCfXRiu
A8MiU8mUSTgQy/bRoloVYiQ=
=Td64
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to