freebsd-ports/math/curv/files/patch-libcurv_viewer_vertexLayout.cc
Piotr Kubaj 2eccb23532 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)
2019-11-27 19:47:30 +00:00

9 lines
274 B
C++

--- 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>();