pkgsrc/cad/oce/patches/patch-src_OpenGl_OpenGl__Context.hxx
fhajny ffe0cd51cf Import OCE 0.18 as cad/oce, based on wip/oce.
Opencascade Community Edition project gathers patches/changes/improvements
from the OCC community over the latest release.

Open CASCADE Technology is a software development platform freely available
in open source. It includes C++ components for 3D surface and solid modeling,
visualization, data exchange and rapid application development.
2017-01-20 11:00:50 +00:00

17 lines
431 B
C++

$NetBSD: patch-src_OpenGl_OpenGl__Context.hxx,v 1.1 2017/01/20 11:00:50 fhajny Exp $
We need alloca.h.
--- src/OpenGl/OpenGl_Context.hxx.orig 2017-01-13 05:34:36.000000000 +0000
+++ src/OpenGl/OpenGl_Context.hxx
@@ -40,6 +40,10 @@
#include <OpenGl_GlCore11.hxx>
#include <OpenGl_Utils.hxx>
+#if defined(__sun)
+#include <alloca.h>
+#endif
+
//! Forward declarations
#if defined(__APPLE__)
#import <TargetConditionals.h>