From eace1e65b8fd06861c133247e69d37808108b530 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Fri, 9 Jan 2004 13:23:36 +0000 Subject: [PATCH] - povray-amd64.patch renamed to povray-64bit.patch and alpha support added Changed files: povray-64bit.patch -> 1.1 --- povray-64bit.patch | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 povray-64bit.patch diff --git a/povray-64bit.patch b/povray-64bit.patch new file mode 100644 index 0000000..50721a2 --- /dev/null +++ b/povray-64bit.patch @@ -0,0 +1,37 @@ +diff -dur povray-3.50c.orig/src/frame.h povray-3.50c/src/frame.h +--- povray-3.50c.orig/src/frame.h 2002-12-31 12:51:45.000000000 +0100 ++++ povray-3.50c/src/frame.h 2004-01-07 14:37:41.637836976 +0100 +@@ -55,12 +55,20 @@ + class pov_istream_class; + class pov_ostream_class; + ++#if defined(__x86_64__) || defined(__alpha) ++typedef unsigned u_int32 ; ++#else + typedef unsigned long u_int32 ; ++#endif + typedef unsigned short u_int16 ; + typedef unsigned char u_int8 ; + typedef unsigned char byte ; + ++#if defined(__x86_64__) || defined(__alpha) ++typedef int int32 ; ++#else + typedef signed long int32 ; ++#endif + typedef signed short int16 ; + typedef signed char int8 ; + +diff -dur povray-3.50c.orig/src/optin.cpp povray-3.50c/src/optin.cpp +--- povray-3.50c.orig/src/optin.cpp 2003-01-04 17:06:20.000000000 +0100 ++++ povray-3.50c/src/optin.cpp 2004-01-07 14:38:14.675814440 +0100 +@@ -436,7 +436,7 @@ + + static bool matches(char *v1, char *v2); + +-POV_ISTREAM *Opts_Locate_File(char *filename, unsigned long stype, char *buffer, int err_flag, POVMSObjectPtr obj); ++POV_ISTREAM *Opts_Locate_File(char *filename, u_int32 stype, char *buffer, int err_flag, POVMSObjectPtr obj); + + + /***************************************************************************** +Only in povray-3.50c/src: optin.cpp~ -- 2.43.0