]> git.pld-linux.org Git - packages/povray.git/commitdiff
- fix for 64-bit archs
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Oct 2002 11:17:38 +0000 (11:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    povray-types.patch -> 1.1

povray-types.patch [new file with mode: 0644]

diff --git a/povray-types.patch b/povray-types.patch
new file mode 100644 (file)
index 0000000..792135e
--- /dev/null
@@ -0,0 +1,44 @@
+--- povray-3.50b/src/frame.h.orig      Wed Aug  7 15:17:13 2002
++++ povray-3.50b/src/frame.h   Tue Oct 29 11:57:54 2002
+@@ -37,6 +37,7 @@
+ /* Generic header for all modules */
+ #include <math.h>
++#include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <limits.h>
+@@ -44,14 +45,14 @@
+ class pov_istream_class;
+ class pov_ostream_class;
+-typedef unsigned long u_int32 ;
+-typedef unsigned short u_int16 ;
+-typedef unsigned char u_int8 ;
+-typedef unsigned char byte ;
+-
+-typedef signed long int32 ;
+-typedef signed short int16 ;
+-typedef signed char int8 ;
++typedef uint32_t u_int32 ;
++typedef uint16_t u_int16 ;
++typedef uint8_t u_int8 ;
++typedef uint8_t byte ;
++
++typedef int32_t int32 ;
++typedef int16_t int16 ;
++typedef int8_t int8 ;
+ #include "config.h"
+--- povray-3.50b/src/optin.cpp.orig    Wed Aug  7 15:17:13 2002
++++ povray-3.50b/src/optin.cpp Tue Oct 29 12:05:51 2002
+@@ -364,7 +364,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);
+ /*****************************************************************************
This page took 0.029602 seconds and 4 git commands to generate.