freebsd-ports/graphics/ptex/files/patch-ptex__PtexWriter.cpp
Steve Wills a998dda736 graphics/ptex: create port
Ptex is a per-face texture mapping system developed
by Walt Disney Animation Studios.

Ptex applies a separate texture to each face of a polygon mesh.
It's file format can efficiently store hundreds of thousands
of texture images in a single file.

WWW: http://ptex.us

PR:		222300
Submitted by:	Shane <FreeBSD@ShaneWare.Biz>
2017-10-19 13:10:48 +00:00

10 lines
277 B
C++

--- src/ptex/PtexWriter.cpp.orig 2015-02-12 16:37:58 UTC
+++ src/ptex/PtexWriter.cpp
@@ -66,6 +66,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#include <algorithm>
#include <iostream>
#include <sstream>
+#include <unistd.h>
#include "Ptexture.h"
#include "PtexUtils.h"