freebsd-ports/math/curv/files/patch-libcurv_viewer_mesh.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

10 lines
207 B
C++

--- libcurv/viewer/mesh.cc.orig 2019-10-22 18:21:49 UTC
+++ libcurv/viewer/mesh.cc
@@ -2,6 +2,7 @@
#include <iostream>
#include <fstream>
+#include <sys/types.h>
//#include "fs.h"
#include "geom.h"