Your message dated Sun, 04 Sep 2005 07:17:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300294: fixed in oleo 1.99.16-8
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; 18 Mar 2005 19:55:34 +0000
>From [EMAIL PROTECTED] Fri Mar 18 11:55:33 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 1DCNZF-0006oM-00; Fri, 18 Mar 2005 11:55:33 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1DCNZD-0003qC-O1; Fri, 18 Mar 2005 20:55:31 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: oleo: FTBFS (amd64/gcc-4.0): array type has incomplete element type
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 18 Mar 2005 20:55:31 +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: oleo
Severity: normal
Tags: patch

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

In file included from regions.c:42:
io-term.h:47: error: array type has incomplete element type
make[3]: *** [regions.o] Error 1
make[3]: Leaving directory `/oleo-1.99.16/src'

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

The patch contains fixes which were already necessary for earlier
gcc versions.

Regards
Andreas Jochens

diff -urN ../tmp-orig/oleo-1.99.16/src/basic.h ./src/basic.h
--- ../tmp-orig/oleo-1.99.16/src/basic.h        2000-08-10 23:02:49.000000000 
+0200
+++ ./src/basic.h       2005-03-18 20:42:30.963398869 +0100
@@ -36,9 +36,6 @@
 
 extern const int colmagic[9];
 extern  const int rowmagic[9];
-extern char * motion_name[9];
-extern enum motion_magic complementary_motion[9];
-extern enum motion_magic opposite_motion[9];
 
 extern int run_load_hooks;
 
diff -urN ../tmp-orig/oleo-1.99.16/src/global.h ./src/global.h
--- ../tmp-orig/oleo-1.99.16/src/global.h       2005-03-18 20:45:06.300809009 
+0100
+++ ./src/global.h      2005-03-18 20:42:30.963398869 +0100
@@ -231,7 +231,7 @@
 
 extern unsigned short current_cycle;
 extern int ioerror;
-extern int errno;
+#include <errno.h>
 extern const char oleo_version_string[];
 
 extern double astof (char **);
diff -urN ../tmp-orig/oleo-1.99.16/src/io-term.c ./src/io-term.c
--- ../tmp-orig/oleo-1.99.16/src/io-term.c      2001-02-14 00:38:06.000000000 
+0100
+++ ./src/io-term.c     2005-03-18 20:43:36.991391876 +0100
@@ -234,7 +234,7 @@
 
                if (Preferences[i].copynext) {
                        ptr += strlen(Preferences[i].name) + 1;
-                       ((char *)Preferences[i].var) = strdup(ptr);
+                       Preferences[i].var = strdup(ptr);
                } else if (Preferences[i].var)
                        *((int *)Preferences[i].var) = Preferences[i].value;
 
@@ -770,6 +770,8 @@
     }
 }
 
+extern struct cmd_func cmd_funcs[];
+
 static void
 init_maps (void)
 {
diff -urN ../tmp-orig/oleo-1.99.16/src/io-term.h ./src/io-term.h
--- ../tmp-orig/oleo-1.99.16/src/io-term.h      2001-02-10 09:27:04.000000000 
+0100
+++ ./src/io-term.h     2005-03-18 20:43:06.794338687 +0100
@@ -44,8 +44,6 @@
 extern int default_lock;
 
 
-extern struct cmd_func cmd_funcs[];
-
 /* When printing ascii output, this controls page width. */
 extern int modified;
 
diff -urN ../tmp-orig/oleo-1.99.16/src/plotter.c ./src/plotter.c
--- ../tmp-orig/oleo-1.99.16/src/plotter.c      2000-11-22 20:33:01.000000000 
+0100
+++ ./src/plotter.c     2005-03-18 20:42:30.965398475 +0100
@@ -2639,8 +2639,6 @@
        case SP_PLOT_PIE:
                sp_pie_plot_point(mg, point);
                break;
-       default:
-               /* ?? */
        }
 }
 
@@ -2770,8 +2768,6 @@
        case SP_PLOT_PIE:
                sp_pie_begin_graph(mg, scale, trans_x, trans_y);
                break;
-       default:
-               /* ??? */
        }
 
        sp_first_dataset(mg);
@@ -2790,8 +2786,6 @@
        case SP_PLOT_PIE:
                sp_pie_end_graph(mg);
                break;
-       default:
-               /* ??? */
        }
 }
 
diff -urN ../tmp-orig/oleo-1.99.16/src/xrdb.c ./src/xrdb.c
--- ../tmp-orig/oleo-1.99.16/src/xrdb.c 2000-08-10 23:02:51.000000000 +0200
+++ ./src/xrdb.c        2005-03-18 20:42:30.966398277 +0100
@@ -450,6 +450,7 @@
 
 #ifdef TESTRM
 #include <stdio.h>
+#include <errno.h>
 #include "arg-list.h"
 
 static void
@@ -457,7 +458,6 @@
     char *msg, *prog;
     int x1, x2, x3, x4, x5;
 {
-    extern int errno;
 
     if (errno)
       perror (prog);

---------------------------------------
Received: (at 300294-close) by bugs.debian.org; 4 Sep 2005 14:18:59 +0000
>From [EMAIL PROTECTED] Sun Sep 04 07:18:59 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EBvIx-0002fS-00; Sun, 04 Sep 2005 07:17:07 -0700
From: Mario Lang <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#300294: fixed in oleo 1.99.16-8
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 04 Sep 2005 07:17:07 -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
X-CrossAssassin-Score: 3

Source: oleo
Source-Version: 1.99.16-8

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

oleo_1.99.16-8.diff.gz
  to pool/main/o/oleo/oleo_1.99.16-8.diff.gz
oleo_1.99.16-8.dsc
  to pool/main/o/oleo/oleo_1.99.16-8.dsc
oleo_1.99.16-8_i386.deb
  to pool/main/o/oleo/oleo_1.99.16-8_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.
Mario Lang <[EMAIL PROTECTED]> (supplier of updated oleo 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,  4 Sep 2005 13:55:29 +0200
Source: oleo
Binary: oleo
Architecture: source i386
Version: 1.99.16-8
Distribution: unstable
Urgency: low
Maintainer: Mario Lang <[EMAIL PROTECTED]>
Changed-By: Mario Lang <[EMAIL PROTECTED]>
Description: 
 oleo       - GNU spreadsheet program
Closes: 262671 287854 300294 322233
Changes: 
 oleo (1.99.16-8) unstable; urgency=low
 .
   * Fix several GCC-4 related build failures (thanks to Andreas Jochens)
     (Closes: #262671, #287854, #300294).
   * Rebuild with ABI-transited libplot (Closes: #322233).
   * For some reason, io-x11.c fails compilation, probably xorg related,
     disable X11 support completely for now, oleo is ncurses/terminal
     based only until I can figure out more.
Files: 
 bd9f3dcd0bc692397d9b928101799003 663 math optional oleo_1.99.16-8.dsc
 4cdf1e999c87d9c1c47d5a065a88491e 14569 math optional oleo_1.99.16-8.diff.gz
 70c5c79294aa15a1526b22263ae25838 392896 math optional oleo_1.99.16-8_i386.deb

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

iD8DBQFDGv+R3/wCKmsRPkQRAkLgAJ4w8KV0eKMfGQN/4aPGjpU7DhQwKACdGMVL
SqBJZep9SNVdzjTxaLck2vg=
=TiuU
-----END PGP SIGNATURE-----


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

Reply via email to