summaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-10-22 05:15:14 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-10-22 05:15:14 +0000
commitceaa2cafa4105e6ed8645468cf966e24099fc486 (patch)
treef67d42976fec052d02223f60057d1992b7c6b765 /math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc
parentx11-drivers/xorgxrdp: Update to 0.2.8 (diff)
New port: math/openmesh: Generic data structure for manipulating polygonal meshes
Diffstat (limited to 'math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc')
-rw-r--r--math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc b/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc
new file mode 100644
index 000000000000..0dffab8c0e5d
--- /dev/null
+++ b/math/openmesh/files/patch-src_OpenMesh_Apps_Decimating_decimaterviewer.cc
@@ -0,0 +1,12 @@
+--- src/OpenMesh/Apps/Decimating/decimaterviewer.cc.orig 2018-10-21 23:51:30 UTC
++++ src/OpenMesh/Apps/Decimating/decimaterviewer.cc
+@@ -63,6 +63,9 @@
+ #else
+ #include <GL/glut.h>
+ #endif
++#if defined(__FreeBSD__)
++#include <unistd.h>
++#endif
+
+ void usage_and_exit(int xcode);
+