Your message dated Mon, 25 Jan 2010 10:03:10 +0000
with message-id <[email protected]>
and subject line Bug#563534: fixed in cbedic 4.0-3
has caused the Debian Bug report #563534,
regarding cbedic: FTBFS with gcc-4.4 (error: invalid conversion from 'const 
char*' to 'char*')
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
563534: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563534
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cbedic
Version: 4.0-2
Severity: normal
Tags: patch

Hi,

a rebuild of cbedic with gcc-4.4 (in Ubuntu) failed to build:
,----[ 
http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/cbedic_4.0-2build2_llucid32.buildlog
 ]-
| engine/translator.cpp: In member function 'bool 
Translator::isLatinInput(const char*, char*, bool)':
| engine/translator.cpp:300: error: invalid conversion from 'const char*' to 
'char*'
| engine/translator.cpp: In member function 'char* Translator::toLatin(const 
char*, char*, bool)':
| engine/translator.cpp:328: error: invalid conversion from 'const char*' to 
'char*'
`----

Attached is a patch to fix it.

Michael

--- cbedic-4.0.orig/src/engine/translator.cpp
+++ cbedic-4.0/src/engine/translator.cpp
@@ -291,7 +291,7 @@
 //========================================================================
 bool Translator::isLatinInput(const char *word, char *buf, const bool 
ignoreSpace) {
        int i = 0;
-       char *p;
+       const char *p;
        while (word[i] != '\0') {
                if ((ignoreSpace) && (word[i] == ' ')) {
                        buf[i] = word[i];
@@ -321,7 +321,7 @@
 char *Translator::toLatin(const char *word, char *buf, const bool 
legalLatinInput) {
        int i = 0;
        int j = 0;
-       char *p;
+       const char *p;
        char c;
        while ((c = word[i]) != '\0') {
                if (legalLatinInput) {



--- End Message ---
--- Begin Message ---
Source: cbedic
Source-Version: 4.0-3

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

cbedic_4.0-3.diff.gz
  to contrib/c/cbedic/cbedic_4.0-3.diff.gz
cbedic_4.0-3.dsc
  to contrib/c/cbedic/cbedic_4.0-3.dsc
cbedic_4.0-3_i386.deb
  to contrib/c/cbedic/cbedic_4.0-3_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.
Anton Zinoviev <[email protected]> (supplier of updated cbedic 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.8
Date: Mon, 25 Jan 2010 11:36:00 +0200
Source: cbedic
Binary: cbedic
Architecture: source i386
Version: 4.0-3
Distribution: unstable
Urgency: low
Maintainer: Anton Zinoviev <[email protected]>
Changed-By: Anton Zinoviev <[email protected]>
Description: 
 cbedic     - Text-mode Bulgarian/English Dictionary
Closes: 563534
Changes: 
 cbedic (4.0-3) unstable; urgency=low
 .
   * Apply patch by Michael Bienia to fix FTBFS due to invalid conversion
     from const char* to char*.  Thanks to Michael Bienia, closes: #563534.
Checksums-Sha1: 
 d85a107781c88d53bfde8b8bd1352fb0a3cd77ca 919 cbedic_4.0-3.dsc
 f4806672aecd066cbf0cac32b399193b90896265 2526 cbedic_4.0-3.diff.gz
 7a58b13dddb94cd6c3dc2cbc328f32f13bab9762 25392 cbedic_4.0-3_i386.deb
Checksums-Sha256: 
 61f66f298a2bb4e5f35f43079fbf900e727ebd8be897bd87ae84cf5c317cc4c6 919 
cbedic_4.0-3.dsc
 04b43d7ae2a658e085613bcb8a02476d2e775faa892c9f9ad335ac2ffc762697 2526 
cbedic_4.0-3.diff.gz
 c2c452fbebac28ba32c2ebabdc06fb5a54359b5511b8b98fc8674a1474428713 25392 
cbedic_4.0-3_i386.deb
Files: 
 c790a7811ecc9a2640ffff180c7e3afc 919 contrib/text optional cbedic_4.0-3.dsc
 0c9f2f53e746d16cf320497d7714aba6 2526 contrib/text optional 
cbedic_4.0-3.diff.gz
 c3e4c95e3b50ad912bd3340b79baa01c 25392 contrib/text optional 
cbedic_4.0-3_i386.deb

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

iD8DBQFLXWaTJP1eZJv0KwcRAhAkAJ42IQMpW37jbe6L7e8QERsQsQND5QCdFyfY
olWu0Ky9mVzbGFyDYQXOLX0=
=gJ+I
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to