povray-3.5_2 broken on ia64

Marcel Moolenaar marcel at xcllnt.net
Sat Dec 13 00:43:56 PST 2003


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 at xcllnt.net
-------------- next part --------------
--- 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 ;
 


More information about the freebsd-ports mailing list