diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/povray/files/povray-3.7.0_rc6-darwin-defaults.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/povray/files/povray-3.7.0_rc6-darwin-defaults.patch')
-rw-r--r-- | media-gfx/povray/files/povray-3.7.0_rc6-darwin-defaults.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-gfx/povray/files/povray-3.7.0_rc6-darwin-defaults.patch b/media-gfx/povray/files/povray-3.7.0_rc6-darwin-defaults.patch new file mode 100644 index 000000000000..16e09c749b2e --- /dev/null +++ b/media-gfx/povray/files/povray-3.7.0_rc6-darwin-defaults.patch @@ -0,0 +1,21 @@ +# Darwin does not support thread-local storage (__thread) +# http://lists.apple.com/archives/xcode-users/2006/Jun/msg00551.html +# so use default from boost thread + +# use lseek for lseek64 +# sys/types.h is needed because of uint + +--- povray-3.7.0.RC6/vfe/unix/syspovconfig.h.orig 2013-03-01 11:09:42.000000000 -0700 ++++ povray-3.7.0.RC6/vfe/unix/syspovconfig.h 2013-03-01 11:07:14.000000000 -0700 +@@ -171,9 +171,7 @@ + #define METADATA_PLATFORM_STRING BUILD_ARCH + #define METADATA_COMPILER_STRING COMPILER_VERSION + +-#define DECLARE_THREAD_LOCAL_PTR(ptrType, ptrName) __thread ptrType *ptrName +-#define IMPLEMENT_THREAD_LOCAL_PTR(ptrType, ptrName, ignore) __thread ptrType *ptrName +-#define GET_THREAD_LOCAL_PTR(ptrName) (ptrName) +-#define SET_THREAD_LOCAL_PTR(ptrName, ptrValue) (ptrName = ptrValue) ++#define lseek64 lseek ++#include <sys/types.h> + + #endif |