ports/graphics/povray37/files/patch-vfe_unix_syspovconfig.h
Tobias Kortkamp 760887f574 graphics/povray37: Update to 3.7.0.8
- Fixes build with Clang 6
- Reset maintainer after not responding for > 6 months
- While here add license and sort variables

Changes:	https://github.com/POV-Ray/povray/releases/
PR:		215473
Submitted by:	Andrey Zholos <aaz@q-fu.com>, Chad Jacob Milios <milios@ccsys.com>
Approved by:	bkoenig@alpha-tierchen.de (maintainer timeout, > 6 months)
2018-07-07 11:00:16 +00:00

12 lines
640 B
C

--- vfe/unix/syspovconfig.h.orig 2018-05-27 09:54:06 UTC
+++ vfe/unix/syspovconfig.h
@@ -162,7 +162,8 @@ const int NULL=0;
#include <sys/param.h>
#if defined(BSD)
// BSD-style Unix detected.
- #error BSD-style Unix detected, but not explicitly supported yet; proceed at your own risk.
+ #include <sys/wait.h> // for WEXITSTATUS
+ #define lseek64(handle,offset,whence) lseek(handle,offset,whence)
#else
// Not officially supported yet; comment-out the following line to try with default POSIX settings.
#error Unix detected, but flavor not identified; proceed at your own risk.