summaryrefslogtreecommitdiff
path: root/graphics/povray/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-12-28 14:49:05 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-12-28 14:49:05 +0000
commit04df6dcb62019c6859bb5f083967082507ec5452 (patch)
treed113d09fc224d061e95abab3dd0380f7687c0b77 /graphics/povray/files
parent- Update to 2.01a21. For a list of changes see: (diff)
fix build on 64 bit environment
Submitted by: kris (bento) Suggestion from: marcel
Notes
Notes: svn path=/head/; revision=96800
Diffstat (limited to 'graphics/povray/files')
-rw-r--r--graphics/povray/files/patch-src::frame.h23
-rw-r--r--graphics/povray/files/patch-src::optin.cpp11
2 files changed, 34 insertions, 0 deletions
diff --git a/graphics/povray/files/patch-src::frame.h b/graphics/povray/files/patch-src::frame.h
new file mode 100644
index 000000000000..c37f3c036b35
--- /dev/null
+++ b/graphics/povray/files/patch-src::frame.h
@@ -0,0 +1,23 @@
+--- src/frame.h.orig Tue Jan 7 10:08:30 2003
++++ src/frame.h Sun Dec 28 23:37:04 2003
+@@ -44,12 +44,20 @@
+ class pov_istream_class;
+ class pov_ostream_class;
+
++#if defined(__LP64__)
++typedef unsigned int 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(__LP64__)
++typedef signed int int32 ;
++#else
+ typedef signed long int32 ;
++#endif
+ typedef signed short int16 ;
+ typedef signed char int8 ;
+
diff --git a/graphics/povray/files/patch-src::optin.cpp b/graphics/povray/files/patch-src::optin.cpp
new file mode 100644
index 000000000000..861253a79145
--- /dev/null
+++ b/graphics/povray/files/patch-src::optin.cpp
@@ -0,0 +1,11 @@
+--- src/optin.cpp.orig Sun Dec 28 23:43:15 2003
++++ src/optin.cpp Sun Dec 28 23:43:52 2003
+@@ -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);
+
+
+ /*****************************************************************************