Your message dated Sun, 13 Aug 2006 07:02:30 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#284201: fixed in ngs-js 0.2.5-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)

--- Begin Message ---
Package: ngs-js
Severity: normal
Tags: patch

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

gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -D_REENTRANT -c -fPIC -DPIC iostream.c
iostream.c: In function 'js_iostream_read':
iostream.c:236: error: invalid lvalue in assignment
iostream.c: In function 'js_iostream_write':
iostream.c:293: error: invalid lvalue in assignment
make[1]: *** [iostream.lo] Error 1
make[1]: Leaving directory `/ngs-js-0.2.5/src'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/ngs-js-0.2.5/src/iostream.c ./src/iostream.c
--- ../tmp-orig/ngs-js-0.2.5/src/iostream.c     1998-11-25 08:06:10.000000000 
+0000
+++ ./src/iostream.c    2004-12-04 13:45:18.686780008 +0000
@@ -233,7 +233,7 @@
 
          stream->bufpos += got;
          size -= got;
-         (unsigned char *) ptr += got;
+         ptr = (char *) ptr + got;
          total += got;
        }
       else
@@ -290,7 +290,7 @@
       stream->data_in_buf += space;
       total += space;
       size -= space;
-      (unsigned char *) ptr += space;
+      ptr = (char *) ptr + space;
 
       /* Now the buffer contains buffered write data. */
       stream->writep = 1;


--- End Message ---
--- Begin Message ---
Source: ngs-js
Source-Version: 0.2.5-8

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

libjs0-dev_0.2.5-8_amd64.deb
  to pool/main/n/ngs-js/libjs0-dev_0.2.5-8_amd64.deb
libjs0_0.2.5-8_amd64.deb
  to pool/main/n/ngs-js/libjs0_0.2.5-8_amd64.deb
ngs-js_0.2.5-8.diff.gz
  to pool/main/n/ngs-js/ngs-js_0.2.5-8.diff.gz
ngs-js_0.2.5-8.dsc
  to pool/main/n/ngs-js/ngs-js_0.2.5-8.dsc
ngs-js_0.2.5-8_amd64.deb
  to pool/main/n/ngs-js/ngs-js_0.2.5-8_amd64.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.
Pierre Habouzit <[EMAIL PROTECTED]> (supplier of updated ngs-js 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, 13 Aug 2006 15:46:22 +0200
Source: ngs-js
Binary: libjs0 libjs0-dev ngs-js
Architecture: source amd64
Version: 0.2.5-8
Distribution: unstable
Urgency: low
Maintainer: Pierre Habouzit <[EMAIL PROTECTED]>
Changed-By: Pierre Habouzit <[EMAIL PROTECTED]>
Description: 
 libjs0     - The NGS JavaScript interpreter - shared library
 libjs0-dev - The NGS JavaScript interpreter - development files
 ngs-js     - The NGS JavaScript interpreter
Closes: 240161 284201
Changes: 
 ngs-js (0.2.5-8) unstable; urgency=low
 .
   * Change of Maintainer.
   * Ack NMU.
 .
 ngs-js (0.2.5-7.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Apply patch to fix FTBFS due to bad lvalue in src/iostream.c.
     (Closes: #284201)
 .
 ngs-js (0.2.5-7) unstable; urgency=low
 .
   * Update config.{sub,guess} to non-ancient versions for benefit of
     at a minimum the mips buildd.  (Closes: #240161)
   * Update standards-version to 3.6.1
Files: 
 c36d24cd4e316a08211c175e895de55f 588 interpreters optional ngs-js_0.2.5-8.dsc
 76ee7a919f4aefa6b761a4568319700e 26280 interpreters optional 
ngs-js_0.2.5-8.diff.gz
 7e586383b173647a0e3170b7b95ff3b3 34884 interpreters optional 
ngs-js_0.2.5-8_amd64.deb
 ec6d76a430e7097dbc1e6479a7bad7d3 136642 libs optional libjs0_0.2.5-8_amd64.deb
 6fc89a24ebdd2880684a516d2a195f94 187060 devel optional 
libjs0-dev_0.2.5-8_amd64.deb

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

iD8DBQFE3y3BvGr7W6HudhwRAtSPAJ9+PCtql018zIWIHIlX6taBS+EPTgCfXqJG
wjBZ1507Y363RlamP39+ASM=
=mOeL
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to