[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#94699: tetex-bin: PATCH: gcc 3.0 issues, Build failure on PARISC machines



Package: tetex-bin
Version: 1.0.7+20001218-3
Severity: normal

Two things:

1) gcc 3.0 implements printf() as a macro, patch attched.

2) The config.guess and config.sub files in the source need to be updated
   to the current ones (at http://subversions.gnu.org/cgi-bin/cvsweb/config/)

With those changes, the package builds.

lamont

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux smallone 2.4.0 #23 Sat Apr 14 23:32:01 MDT 2001 parisc64 unknown

--- texk/dvipsk/afm2tfm.c.orig	Sat Apr 21 01:24:50 2001
+++ texk/dvipsk/afm2tfm.c	Sat Apr 21 01:25:01 2001
@@ -1976,11 +1976,13 @@
 /*
  *   This routine prints out the line that needs to be added to psfonts.map.
  */
+#ifndef VMCMS
 void conspsfonts() {
    (void)printf("%s %s", outname,
-#ifndef VMCMS
    fontname) ;
 #else /* VM/CMS: fontname is ascii, so we use ebfontname */
+void conspsfonts() {
+   (void)printf("%s %s", outname,
    ebfontname) ;
 #endif
    if (slantparam || efactorparam || inenname) {



Reply to: