From 2eccb23532f57655db99b2f206e74405446c4a61 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 27 Nov 2019 19:47:30 +0000 Subject: 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) --- math/curv/files/patch-libcurv_viewer_vertexLayout.cc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 math/curv/files/patch-libcurv_viewer_vertexLayout.cc (limited to 'math/curv/files/patch-libcurv_viewer_vertexLayout.cc') 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 + + std::map VertexLayout::s_enabledAttribs = std::map(); + -- cgit v1.2.3