]> git.pld-linux.org Git - packages/povray.git/commitdiff
- use proper types on AMD64
authorJacek Konieczny <jajcus@pld-linux.org>
Thu, 8 Jan 2004 14:50:26 +0000 (14:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    povray-amd64.patch -> 1.1

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

diff --git a/povray-amd64.patch b/povray-amd64.patch
new file mode 100644 (file)
index 0000000..343a43c
--- /dev/null
@@ -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__)
++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__)
++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~
This page took 0.107869 seconds and 4 git commands to generate.