pkgsrc/graphics/irrlicht/patches/patch-source_Irrlicht_COSOperator.cpp
nia c44753a927 Add irrlicht-1.8.4 as graphics/irrlicht.
Based on work in pkgsrc-wip.

The Irrlicht Engine is an open source high performance real-time
3D engine written and usable in C++ and also available for .NET
languages.

It is completely cross-platform, using D3D, OpenGL and its own
software renderer, and has all of the state-of-the-art features
which can be found in commercial 3d engines.
2019-06-30 22:13:13 +00:00

14 lines
381 B
C++

$NetBSD: patch-source_Irrlicht_COSOperator.cpp,v 1.1 2019/06/30 22:13:14 nia Exp $
Add missing include.
--- source/Irrlicht/COSOperator.cpp.orig Sun Jan 6 13:20:50 2013
+++ source/Irrlicht/COSOperator.cpp
@@ -12,6 +12,7 @@
#include <string.h>
#include <unistd.h>
#ifndef _IRR_SOLARIS_PLATFORM_
+#include <sys/param.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#endif