]> git.pld-linux.org Git - packages/povray.git/blob - povray-amd64.patch
- use proper types on AMD64
[packages/povray.git] / povray-amd64.patch
1 diff -dur povray-3.50c.orig/src/frame.h povray-3.50c/src/frame.h
2 --- povray-3.50c.orig/src/frame.h       2002-12-31 12:51:45.000000000 +0100
3 +++ povray-3.50c/src/frame.h    2004-01-07 14:37:41.637836976 +0100
4 @@ -55,12 +55,20 @@
5  class pov_istream_class;
6  class pov_ostream_class;
7  
8 +#if defined(__x86_64__)
9 +typedef unsigned u_int32 ;
10 +#else
11  typedef unsigned long u_int32 ;
12 +#endif
13  typedef unsigned short u_int16 ;
14  typedef unsigned char u_int8 ;
15  typedef unsigned char byte ;
16  
17 +#if defined(__x86_64__)
18 +typedef int int32 ;
19 +#else
20  typedef signed long int32 ;
21 +#endif
22  typedef signed short int16 ;
23  typedef signed char int8 ;
24  
25 diff -dur povray-3.50c.orig/src/optin.cpp povray-3.50c/src/optin.cpp
26 --- povray-3.50c.orig/src/optin.cpp     2003-01-04 17:06:20.000000000 +0100
27 +++ povray-3.50c/src/optin.cpp  2004-01-07 14:38:14.675814440 +0100
28 @@ -436,7 +436,7 @@
29  
30  static bool matches(char *v1, char *v2);
31  
32 -POV_ISTREAM *Opts_Locate_File(char *filename, unsigned long stype, char *buffer, int err_flag, POVMSObjectPtr obj);
33 +POV_ISTREAM *Opts_Locate_File(char *filename, u_int32 stype, char *buffer, int err_flag, POVMSObjectPtr obj);
34  
35  
36  /*****************************************************************************
37 Only in povray-3.50c/src: optin.cpp~
This page took 0.10939 seconds and 3 git commands to generate.