pkgsrc-wip/occt/patches/patch-src_MeshVS_MeshVS__MeshPrsBuilder.cxx
Paul Ripke 52593591fd occt: Rename wip/opencascade to wip/occt, and merge in diffs from cad/occt
Tested with wip/prusaslicer and cad/kicad.
2024-02-17 17:44:13 +11:00

18 lines
411 B
C++

$NetBSD$
Needs alloca.h on SunOS.
--- src/MeshVS/MeshVS_MeshPrsBuilder.cxx.orig 2022-11-11 22:19:44.000000000 +0000
+++ src/MeshVS/MeshVS_MeshPrsBuilder.cxx
@@ -48,6 +48,10 @@
#include <malloc.h> // for alloca()
#endif
+#ifdef __sun
+#include <alloca.h>
+#endif
+
IMPLEMENT_STANDARD_RTTIEXT(MeshVS_MeshPrsBuilder,MeshVS_PrsBuilder)
//================================================================