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

Bug#297950: marked as done (ttfprint: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment)



Your message dated Sun, 31 Jul 2005 23:35:42 +0100
with message-id <20050731223542.GA31146@deprecation.cyrius.com>
and subject line Removed from Debian - unmaintained
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; 3 Mar 2005 17:21:14 +0000
>From aj@andaco.de Thu Mar 03 09:21:14 2005
Return-path: <aj@andaco.de>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D6u0f-0002hH-00; Thu, 03 Mar 2005 09:21:13 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
	id 1D6uwQ-0004am-Pa; Thu, 03 Mar 2005 19:20:54 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: ttfprint: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <E1D6uwQ-0004am-Pa@localhost.localdomain>
Date: Thu, 03 Mar 2005 19:20:54 +0100
Delivered-To: submit@bugs.debian.org
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: ttfprint
Severity: normal
Tags: patch

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

gcc -O6 -s -Wall -o prescan.o -c prescan.c
In file included from prescan.c:1:
ttfprint.h:143:2: warning: no newline at end of file
prescan.c:274:8: warning: extra tokens at end of #endif directive
prescan.c: In function 'prescan':
prescan.c:444: error: invalid lvalue in assignment
prescan.c:445: error: invalid lvalue in assignment
prescan.c:477: error: invalid lvalue in assignment
prescan.c:478: error: invalid lvalue in assignment
prescan.c: In function 'tpl_command':
prescan.c:579: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
make[1]: *** [prescan.o] Error 1
make[1]: Leaving directory `/ttfprint-0.9'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/ttfprint-0.9/prescan.c ./prescan.c
--- ../tmp-orig/ttfprint-0.9/prescan.c	1998-03-24 11:26:35.000000000 +0100
+++ ./prescan.c	2005-03-03 19:18:57.333997001 +0100
@@ -441,8 +441,8 @@
 	    fl_current->seq = 0;
 	    fl_current->dict = FALSE;
 	    fl_current->outline = NULL;
-	    (unsigned char)fl_current->code[0]=(unsigned char)hbyte;
-	    (unsigned char)fl_current->code[1]=(unsigned char)lbyte;
+	    fl_current->code[0]=(unsigned char)hbyte;
+	    fl_current->code[1]=(unsigned char)lbyte;
 	  
 	    fprintf (tempfile,"\\g%03x",font_count);
 	    font_count ++;
@@ -474,8 +474,8 @@
 	      fl_current->next = NULL;
 	      fl_tail->next = fl_current;
 	      fl_tail = fl_current;
-	      (unsigned char)fl_current->code[0]=(unsigned char)hbyte;
-	      (unsigned char)fl_current->code[1]=(unsigned char)lbyte;
+	      fl_current->code[0]=(unsigned char)hbyte;
+	      fl_current->code[1]=(unsigned char)lbyte;
 	    
 	      fprintf (tempfile,"\\g%03x",font_count);
 	      if ((++font_count) == FONTNUM)

---------------------------------------
Received: (at 297950-done) by bugs.debian.org; 31 Jul 2005 22:35:51 +0000
>From tbm@cyrius.com Sun Jul 31 15:35:51 2005
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [65.19.161.204] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DzMPP-0000KY-00; Sun, 31 Jul 2005 15:35:51 -0700
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id E9B6764D55; Sun, 31 Jul 2005 22:35:45 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 1E181870D; Sun, 31 Jul 2005 23:35:42 +0100 (BST)
Date: Sun, 31 Jul 2005 23:35:42 +0100
From: Martin Michlmayr <tbm@cyrius.com>
To: 297950-done@bugs.debian.org
Subject: Removed from Debian - unmaintained
Message-ID: <20050731223542.GA31146@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 297950-done@bugs.debian.org
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 149

This package has now been removed from Debian because nobody was
interested in maintaining it; see
http://lists.debian.org/debian-devel-announce/2005/06/msg00014.html
for more information.

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: