Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2003 00:43:53 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
Cc:        ports@freebsd.org
Subject:   Re: povray-3.5_2 broken on ia64
Message-ID:  <20031213084353.GA63894@dhcp01.pn.xcllnt.net>
In-Reply-To: <20031213.172631.730554238.chat95@mbox.kyoto-inet.or.jp>
References:  <20031128212049.GG88233@xor.obsecurity.org> <20031213.172631.730554238.chat95@mbox.kyoto-inet.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sat, Dec 13, 2003 at 05:26:31PM +0900, Nakata Maho wrote:
> Hi, all
> 
> povray for ia64 is broken.
> 
> > http://bento.freebsd.org/errorlogs/ia64-5-latest/povray-3.5_2.log
> > 
> > Can you please investigate and/or report to the developers?
> 
> Does anybody here interested in this port for ia64?

>From the log:

	:
In file included from /usr/local/include/tiffio.h:33,
                 from tiff_pov.cpp:46:
/usr/local/include/tiff.h:83: error: conflicting types for `typedef int int32'
frame.h:52: error: previous declaration as `typedef long int int32'

It looks like povray is broken on any 64-bit platform. The attached
patch should fix that.

FYI,

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-src::frame.h"

--- src/frame.h.orig	Sat Dec 13 00:37:32 2003
+++ src/frame.h	Sat Dec 13 00:38:06 2003
@@ -44,12 +44,12 @@
 class pov_istream_class;
 class pov_ostream_class;
 
-typedef unsigned long u_int32 ;
+typedef unsigned int u_int32 ;
 typedef unsigned short u_int16 ;
 typedef unsigned char u_int8 ;
 typedef unsigned char byte ;
 
-typedef signed long int32 ;
+typedef signed int int32 ;
 typedef signed short int16 ;
 typedef signed char int8 ;
 

--OXfL5xGRrasGEqWY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031213084353.GA63894>