Your message dated Wed, 17 Aug 2005 13:17:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#285646: fixed in dvi2dvi 2.0alpha-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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Dec 2004 16:19:10 +0000
>From [EMAIL PROTECTED] Tue Dec 14 08:19:09 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c158150.adsl.hansenet.de (localhost.localdomain) 
[213.39.158.150] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CeFOH-0007rW-00; Tue, 14 Dec 2004 08:19:09 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CeFSd-00055e-Qf; Tue, 14 Dec 2004 17:23:39 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: dvi2dvi: FTBFS (amd64/gcc-4.0): conflicting types for 'sprintf'
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 14 Dec 2004 17:23:39 +0100
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: dvi2dvi
Severity: normal
Tags: patch

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

gcc -c -O -DPOSIX        -I/usr/include -DKPATHSEA 
-DDVI2PATH=\".:/etc/texmf/dvi2dvi\" -DDVI2LIB=\"/etc/texmf/dvi2dvi\" 
-DFONTDESC=\"//fontdesc\" dvi2.c
In file included from dvi2.c:1:
defs.h:59: error: conflicting types for 'sprintf'
defs.h:59: note: a parameter list with an ellipsis can't match an empty 
parameter name list declaration
make[1]: *** [dvi2.o] Error 1
make[1]: Leaving directory `/dvi2dvi-2.0alpha'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/dvi2dvi-2.0alpha/bifont.c ./bifont.c
--- ../tmp-orig/dvi2dvi-2.0alpha/bifont.c       2004-12-14 17:21:13.256263592 
+0100
+++ ./bifont.c  2004-12-14 17:21:07.249176808 +0100
@@ -104,7 +104,7 @@
     int        null_markchar();
     void read_tfm_fontinfo(), read_jfm_fontinfo();
 
-    bfinfo(fe) = biaccinfo(fe)->bf;
+    fe = (struct font_entry*)biaccinfo(fe)->bf;
     openfontfile(fe);
     if (checkjfm(fe->openfile)) {
        fe->fnt_type = FT_JFM;
@@ -148,7 +148,7 @@
 
     tfmfi = NEW(struct tfmfntinfo, "tfmfont info");
     tfmfi->tfm_bf = bfinfo(fe);
-    tfmfinfo(fe) = tfmfi;
+    fe = (struct font_entry*)tfmfi;
     read_tfm_finfo(fe);
     dev_tfm_initfe(fe);
     dev_tfm_initfontdict(fe);
@@ -313,7 +313,7 @@
     int        null_markchar();
     void read_jfm_fontinfo();
 
-    bfinfo(fe) = biaccinfo(fe)->bf;
+    fe = (struct font_entry*)biaccinfo(fe)->bf;
     fe->fnt_type = FT_JFM;
     /*fe->base_fe->fnt_use = FU_USED;*/
     fe->fnt_markchar = null_markchar;
@@ -356,7 +356,7 @@
 
     jfmfi = NEW(struct jfmfntinfo, "jfmfont info");
     jfmfi->jfm_bf = bfinfo(fe);
-    jfmfinfo(fe) = jfmfi;
+    fe = (struct font_entry*)jfmfi;
     read_jfm_finfo(fe);
     dev_jfm_initfe(fe, id);
     dev_jfm_initfontdict(fe);
diff -urN ../tmp-orig/dvi2dvi-2.0alpha/defs.h ./defs.h
--- ../tmp-orig/dvi2dvi-2.0alpha/defs.h 2004-12-14 17:21:13.255263744 +0100
+++ ./defs.h    2004-12-14 17:18:30.627986848 +0100
@@ -53,11 +53,7 @@
 void *realloc();
 void *calloc();
 void free();
-#ifdef ANSI
 int sprintf(char *, const char *, ...);
-#else
-int sprintf();
-#endif
 #endif
 char *mktemp();
 char *getenv();
diff -urN ../tmp-orig/dvi2dvi-2.0alpha/virfont.c ./virfont.c
--- ../tmp-orig/dvi2dvi-2.0alpha/virfont.c      2004-12-14 17:21:13.256263592 
+0100
+++ ./virfont.c 2004-12-14 17:18:47.735386128 +0100
@@ -119,7 +119,7 @@
        Warning("font = \"%s\",\n-->font checksum = %d,\n-->dvi checksum = %d",
                fe->name, fe->c, t);
     ds = getuint(fntfp, 4);    /* design size */
-    virfinfo(fe) = alloc_virfinfo((coding == CODE_NORMAL)
+    fe = alloc_virfinfo((coding == CODE_NORMAL)
                                  ? MAXVFCHAR+1 : NJISCHARS);
 
     for (; (cmd = getuint(fntfp,1)) >= VF_FNT_DEF1 && cmd <= VF_FNT_DEF4; ) {

---------------------------------------
Received: (at 285646-close) by bugs.debian.org; 17 Aug 2005 20:28:13 +0000
>From [EMAIL PROTECTED] Wed Aug 17 13:28:13 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E5ULS-0005dK-00; Wed, 17 Aug 2005 13:17:06 -0700
From: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#285646: fixed in dvi2dvi 2.0alpha-6
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 17 Aug 2005 13:17:06 -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: dvi2dvi
Source-Version: 2.0alpha-6

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

dvi2dvi_2.0alpha-6.diff.gz
  to pool/main/d/dvi2dvi/dvi2dvi_2.0alpha-6.diff.gz
dvi2dvi_2.0alpha-6.dsc
  to pool/main/d/dvi2dvi/dvi2dvi_2.0alpha-6.dsc
dvi2dvi_2.0alpha-6_i386.deb
  to pool/main/d/dvi2dvi/dvi2dvi_2.0alpha-6_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.
Masayuki Hatta (mhatta) <[EMAIL PROTECTED]> (supplier of updated dvi2dvi 
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: Thu, 18 Aug 2005 04:22:53 +0900
Source: dvi2dvi
Binary: dvi2dvi
Architecture: source i386
Version: 2.0alpha-6
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Changed-By: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Description: 
 dvi2dvi    - Tweak DVI files
Closes: 285646
Changes: 
 dvi2dvi (2.0alpha-6) unstable; urgency=low
 .
   * Maintainer upload.
   * Bumped Standards-Version: 3.6.2.1 (no physical changes).
   * Acknowledged NMU, thanks Roger - closes: #285646
Files: 
 2cddbbd84748f36412208faf08601a5f 598 tex optional dvi2dvi_2.0alpha-6.dsc
 7eb40b1b5dcbd78acb1784d1a68772fc 5831 tex optional dvi2dvi_2.0alpha-6.diff.gz
 a6d430d0c83815ba41d10be754ce03a3 35386 tex optional dvi2dvi_2.0alpha-6_i386.deb

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

iD8DBQFDA47cy2+jQOcHWlQRAlHeAJ0SbshhI1xE4LiC89yWHsePbXouggCdE3vy
aN679USI9Sp7B1wpSPw3LPk=
=6moe
-----END PGP SIGNATURE-----


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

Reply via email to