summaryrefslogtreecommitdiff
path: root/math/curv/files/patch-libcurv_viewer_vertexLayout.cc
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-11-27 19:47:30 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-11-27 19:47:30 +0000
commit2eccb23532f57655db99b2f206e74405446c4a61 (patch)
treec6e8105d0e10bfadd593d83bff47c419d3ab8f00 /math/curv/files/patch-libcurv_viewer_vertexLayout.cc
parentdatabases/postgresql-odbc: Fix build on GCC architectures (diff)
math/curv: fix build on GCC architectures
libcurv/geom/viewer/fbo.cc, libcurv/geom/viewer/mesh.cc, libcurv/geom/viewer/text.cc and libcurv/geom/viewer/vertexLayout.cc need to include sys/types.h to make uint type known. /wrkdirs/usr/ports/math/curv/work/curv-0.4-127-g3caf3068/libcurv/geom/viewer/fbo.cc:42:26: error: 'uint' does not name a type; did you mean 'int'? PR: 241418 Approved by: linimon (mentor), yuri (maintainer)
Notes
Notes: svn path=/head/; revision=518528
Diffstat (limited to 'math/curv/files/patch-libcurv_viewer_vertexLayout.cc')
-rw-r--r--math/curv/files/patch-libcurv_viewer_vertexLayout.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/math/curv/files/patch-libcurv_viewer_vertexLayout.cc b/math/curv/files/patch-libcurv_viewer_vertexLayout.cc
new file mode 100644
index 000000000000..e28ecafd60c9
--- /dev/null
+++ b/math/curv/files/patch-libcurv_viewer_vertexLayout.cc
@@ -0,0 +1,9 @@
+--- libcurv/viewer/vertexLayout.cc.orig 2019-10-22 18:23:57 UTC
++++ libcurv/viewer/vertexLayout.cc
+@@ -1,5 +1,6 @@
+ #include "vertexLayout.h"
+ #include "text.h"
++#include <sys/types.h>
+
+ std::map<GLint, GLuint> VertexLayout::s_enabledAttribs = std::map<GLint, GLuint>();
+