Your message dated Sun, 31 Jul 2005 04:32:19 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#259380: fixed in libgocr 0.7.2-7
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; 14 Jul 2004 10:08:00 +0000
>From [EMAIL PROTECTED] Wed Jul 14 03:08:00 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d001168.adsl.hansenet.de (localhost) [80.171.1.168] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BkggC-0003R6-00; Wed, 14 Jul 2004 03:08:00 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1Bkgg6-0002TB-UP; Wed, 14 Jul 2004 12:07:54 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: libgocr: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 14 Jul 2004 12:07:54 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (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_2004_03_25
X-Spam-Level: 

Package: libgocr
Severity: normal
Tags: patch

When building 'libgocr' with gcc-3.4 I get the following error:

find.c: In function `gocr_charSetPixel':
find.c:586: error: label at end of compound statement
find.c:594: error: label at end of compound statement
find.c:602: error: label at end of compound statement
find.c:610: error: label at end of compound statement
make[2]: *** [libgocr_la-find.lo] Error 1
make[2]: Leaving directory `/libgocr-0.7.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/libgocr-0.7.2'
make: *** [build-stamp] Error 2

With the attached patch 'libgocr' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/libgocr-0.7.2/src/find.c ./src/find.c
--- ../tmp-orig/libgocr-0.7.2/src/find.c        2001-08-25 22:05:09.000000000 
+0200
+++ ./src/find.c        2004-07-14 11:39:52.990772587 +0200
@@ -582,33 +582,31 @@
                                        if (_gocr_private1(workimage,
                                            currentbox->x0, i) == 1)
                                                goto x0end;     /* gotos are 
easier here */
-                     x0end:
                }
                else if (x == currentbox->x1) {
                        for (; currentbox->x1 >= currentbox->x1; 
currentbox->x1--)
                                for (i = currentbox->y0; i <= currentbox->y1; 
i++)
                                        if (_gocr_private1(workimage, 
                                            currentbox->x1, i) == 1)
-                                               goto x1end;
-                     x1end:
+                                               goto x0end;
                }
+       x0end:
                if (x == currentbox->y0) {
                        for (; currentbox->y0 <= currentbox->y1; 
currentbox->y0++)
                                for (i = currentbox->x0; i <= currentbox->x1; 
i++)
                                        if (_gocr_private1(workimage, 
                                            i, currentbox->y0) == 1)
                                                goto y0end;
-                     y0end:
                }
                else if (x == currentbox->y1) {
                        for (; currentbox->y1 >= currentbox->y1; 
currentbox->y1--)
                                for (i = currentbox->x0; i <= currentbox->x1; 
i++)
                                        if (_gocr_private1(workimage,
                                            i, currentbox->y1) == 1)
-                                               goto y1end;
-                     y1end:
+                                               goto y0end;
                }
        }
+y0end:
 
        if (!(_data.char_overlap == 1 && gocr_ischar(workimage, x, y) == 1 &&
              began == NEWCHAR))
diff -urN ../tmp-orig/libgocr-0.7.2/src/pixel.c ./src/pixel.c
--- ../tmp-orig/libgocr-0.7.2/src/pixel.c       2001-08-19 21:15:09.000000000 
+0200
+++ ./src/pixel.c       2004-07-14 11:43:09.280868901 +0200
@@ -368,8 +368,8 @@
                return (image->data.bw[y][x].value == 0 ? 0 : 255);
          case GOCR_GRAY:
                return image->data.gray[y][x].value;
-         case GOCR_COLOR:
-/*             return image->data.color[y][x].value[0]
+/*       case GOCR_COLOR:
+               return image->data.color[y][x].value[0]
                image->data.color[y][x].value[1] 
                image->data.color[y][x].value[2] */
        }

---------------------------------------
Received: (at 259380-close) by bugs.debian.org; 31 Jul 2005 11:47:30 +0000
>From [EMAIL PROTECTED] Sun Jul 31 04:47:30 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1DzC3H-00036G-00; Sun, 31 Jul 2005 04:32:19 -0700
From: Cosimo Alfarano <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#259380: fixed in libgocr 0.7.2-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 31 Jul 2005 04:32:19 -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: libgocr
Source-Version: 0.7.2-7

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

libgocr-dev_0.7.2-7_i386.deb
  to pool/main/libg/libgocr/libgocr-dev_0.7.2-7_i386.deb
libgocr-doc_0.7.2-7_all.deb
  to pool/main/libg/libgocr/libgocr-doc_0.7.2-7_all.deb
libgocr0_0.7.2-7_i386.deb
  to pool/main/libg/libgocr/libgocr0_0.7.2-7_i386.deb
libgocr_0.7.2-7.diff.gz
  to pool/main/libg/libgocr/libgocr_0.7.2-7.diff.gz
libgocr_0.7.2-7.dsc
  to pool/main/libg/libgocr/libgocr_0.7.2-7.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.
Cosimo Alfarano <[EMAIL PROTECTED]> (supplier of updated libgocr 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: Sun, 31 Jul 2005 13:10:14 +0200
Source: libgocr
Binary: libgocr-doc libgocr0 libgocr-dev
Architecture: source i386 all
Version: 0.7.2-7
Distribution: unstable
Urgency: low
Maintainer: Cosimo Alfarano <[EMAIL PROTECTED]>
Changed-By: Cosimo Alfarano <[EMAIL PROTECTED]>
Description: 
 libgocr-dev - API set to write your own OCR engine - development files
 libgocr-doc - API set to write your own OCR engine - documentation
 libgocr0   - API set to write your own OCR engine - runtime libs
Closes: 259380
Changes: 
 libgocr (0.7.2-7) unstable; urgency=low
 .
   * applied patch by Andreas Jochens
     Closes: #259380
   * patched src/hash.c:121 removing explicit cast, gcc-4.0 lvalue incorrect
     assignment
Files: 
 5216b1350b57dedeccf244b8717a50d9 720 devel optional libgocr_0.7.2-7.dsc
 9ea602acf6f2775da57e7f423b9a111d 829787 devel optional libgocr_0.7.2-7.diff.gz
 6e61e075debe814c3b218a61013be649 239280 doc optional 
libgocr-doc_0.7.2-7_all.deb
 6ac5f93f553f0a7211238e4ac8f2046c 61914 libdevel optional 
libgocr-dev_0.7.2-7_i386.deb
 c6675afa8090e6ff81c0ed9cf4499318 37666 libs optional libgocr0_0.7.2-7_i386.deb

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

iD8DBQFC7LQq5DsVPMtGficRApBCAJ9ek3NTPb51CPAtlzEEuCxq2FBxTwCgnWOE
YfBB0sseGcFTtXgynA4f15Q=
=9tdH
-----END PGP SIGNATURE-----


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

Reply via email to