pkgsrc/graphics/openimageio/patches/patch-ptex.imageio_ptex_PtexPlatform.h
ryoon 36ea90bad3 Import openimageio-1.1.1 as graphics/openimageio.
OpenImageIO is a library for reading and writing images, and a
bunch of related classes, utilities, and applications.  There is
a particular emphasis on formats and functionality used in
professional, large-scale animation and visual effects work for
film.  OpenImageIO is used extensively in animation and VFX studios
all over the world, and is also incorporated into several commercial
products.
2012-12-03 12:54:14 +00:00

15 lines
456 B
C

$NetBSD: patch-ptex.imageio_ptex_PtexPlatform.h,v 1.1 2012/12/03 12:54:15 ryoon Exp $
* Treat NetBSD like FreeBSD
--- ptex.imageio/ptex/PtexPlatform.h.orig 2012-11-16 23:02:42.000000000 +0000
+++ ptex.imageio/ptex/PtexPlatform.h
@@ -60,7 +60,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// linux/unix/posix
#include <stdlib.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <alloca.h>
#endif
#include <string.h>