Your message dated Sat, 24 Jun 2006 09:55:19 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297888: fixed in wims 3.55-6
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: wims
Severity: normal
Tags: patch

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

make[2]: Leaving directory `/wims-3.28/src/Module'
gcc -g -O2 -Wall -DGNU_SOURCE -DVERSION_DATE=\"2005-03-03\"  wims.c -L../lib 
-lm -lwims  -o wims
In file included from wims.c:268:
var.c: In function 'debug_output':
var.c:288: warning: format '%d' expects type 'int', but argument 5 has type 
'long int'
var.c:288: warning: format '%d' expects type 'int', but argument 5 has type 
'long int'
In file included from wims.c:277:
texmath.c: In function 'fsort':
texmath.c:336: error: invalid lvalue in assignment
texmath.c:336: error: invalid lvalue in assignment
In file included from wims.c:282:
calc.c: In function '__sorter':
calc.c:36: error: invalid lvalue in assignment
calc.c:36: error: invalid lvalue in assignment
calc.c: In function '_char_sorter':
calc.c:50: error: invalid lvalue in assignment
calc.c:50: error: invalid lvalue in assignment
make[1]: *** [wims] Error 1
make[1]: Leaving directory `/wims-3.28/src'
make: *** [build-arch-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/wims-3.28/src/calc.c ./src/calc.c
--- ../tmp-orig/wims-3.28/src/calc.c    2005-03-03 14:14:22.743330168 +0100
+++ ./src/calc.c        2005-03-03 14:13:14.082582959 +0100
@@ -33,7 +33,7 @@
 {
     struct SORT_STRUCT *pp1, *pp2;
     
-    (const void *) pp1=p1; (const void *) pp2=p2;
+    pp1=p1; pp2=p2;
     if(_sort_numeric) {
        double dd=(pp1->val)-(pp2->val);
        if(dd>0) return 1;
@@ -47,7 +47,7 @@
 int _char_sorter(const void *c1, const void *c2)
 {
     char *cc1,*cc2;
-    (const char *) cc1=c1; (const char *) cc2=c2;
+    cc1=c1; cc2=c2;
     if(_sort_nocase) return tolower(*cc1)-tolower(*cc2);
     else return *cc1-*cc2;
 }
diff -urN ../tmp-orig/wims-3.28/src/texmath.c ./src/texmath.c
--- ../tmp-orig/wims-3.28/src/texmath.c 2003-02-26 21:36:28.000000000 +0100
+++ ./src/texmath.c     2005-03-03 14:12:52.823686318 +0100
@@ -333,7 +333,7 @@
     struct afactor **f1, **f2, *t1, *t2;
     int i1,i2;
     
-    (const void *) f1=p1; (const void *) f2=p2;
+    f1=p1; f2=p2;
     t1=*f1; t2=*f2;
     i1=t1->type; i2=t2->type;
     if(i1>type_var) i1=type_var; if(i2>type_var) i2=type_var;


--- End Message ---
--- Begin Message ---
Source: wims
Source-Version: 3.55-6

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

flydraw_3.55-6_i386.deb
  to pool/main/w/wims/flydraw_3.55-6_i386.deb
texgd_3.55-6_i386.deb
  to pool/main/w/wims/texgd_3.55-6_i386.deb
wims-modules_3.55-6_all.deb
  to pool/main/w/wims/wims-modules_3.55-6_all.deb
wims_3.55-6.diff.gz
  to pool/main/w/wims/wims_3.55-6.diff.gz
wims_3.55-6.dsc
  to pool/main/w/wims/wims_3.55-6.dsc
wims_3.55-6_i386.deb
  to pool/main/w/wims/wims_3.55-6_i386.deb
wims_3.55.orig.tar.gz
  to pool/main/w/wims/wims_3.55.orig.tar.gz



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.
Georges Khaznadar <[EMAIL PROTECTED]> (supplier of updated wims 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: Fri,  2 Jun 2006 18:50:49 +0200
Source: wims
Binary: texgd flydraw wims-modules wims
Architecture: source i386 all
Version: 3.55-6
Distribution: unstable
Urgency: low
Maintainer: Georges Khaznadar <[EMAIL PROTECTED]>
Changed-By: Georges Khaznadar <[EMAIL PROTECTED]>
Description: 
 flydraw    - Inline drawing tool
 texgd      - Program to convert short TeX formulas to PNG graphics
 wims       - WWW Interactive Mathematics Server (WIMS)
 wims-modules - modules used by the WIMS server
Closes: 208815 214991 215909 221724 240566 297888 338253 344100
Changes: 
 wims (3.55-6) unstable; urgency=low
 .
   * patched Makefile.in files for Texgif and Flydraw, to ignore the
     local libgd.a library ; modified the main Makefile accordingly.
   * modified texgd.c: now if a headerfile exists without a .tex suffix
     it is taken in account.
     Closes: #344100
 .
 wims (3.55-5) unstable; urgency=low
 .
   * modified postinst: the fonts are now generated by the user wims, added
     postrm : /var/lib/wims is cleaned when purging wims.
     Closes: #338253
   * added Conficts and Replaces clauses in order to get rid of obsolete
     wims-3.28 packages
 .
 wims (3.55-4) unstable; urgency=low
 .
   * tidied up many details, thanks to Raphael Hertzog's hints:
   * simplified postinst (the keywords "function" are optional with bash)
   * deleted some files or dirs which seemed to be useless
 .
 wims (3.55-3) unstable; urgency=low
 .
   * modified the package so it has the same behavior as the previously
     published one : the present source package outputs binary packages
     flydraw and texgd.
 .
 wims (3.55-2) unstable; urgency=low
 .
   * made modifications to pass pbuilder's test:
    added "Build-Depends: tetex-bin", replaced "rsync -a" by "cp -Rd"
   * added the usage of po-debconf
 .
 wims (3.55-1) unstable; urgency=low
 .
   * Updated to last upstream version
   * Packaged it again from scratch because of many upstream changes and
     because it was really needed anyway.
     Closes: #221724 since libgd2 is linked and dependencies are OK.
     Closes: #297888 since the upstream source was fixed.
     Closes: #208815 as the configuration script is pretty new.
     Closes: #215909 as there is no more libwims package.
     Closes: #240566 there is no more Recommends clause.
     Closes: #214991 as the wims user is created before the installation
     begins.
Files: 
 4dd03f23451e5bd02c011215394f9a93 625 web optional wims_3.55-6.dsc
 455ae05765737a4abf38e4de35422060 11887822 web optional wims_3.55.orig.tar.gz
 daf0ed7bf5709bfe20933cb7c1450bac 17678 web optional wims_3.55-6.diff.gz
 b9ce6270d9c4f28cf147ab3413654cdd 6359858 web optional wims_3.55-6_i386.deb
 c302f4efcc2562c80d8094d4563a969e 39596 web optional flydraw_3.55-6_i386.deb
 31ee8149da5a31b65c00c0280f1c2d9c 19364 web optional texgd_3.55-6_i386.deb
 48ae44992ce2b3afa34d5db77db3a0ff 5539986 web optional 
wims-modules_3.55-6_all.deb

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

iD8DBQFEgrgrvPbGD26BadIRAtPRAJwJK0AJfFjuwq+jC2fW6+KXHXpKFACgiscr
kWN07ONSk4Nu1ZuvjlLDaAI=
=b4Ot
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to