ports/math/curv/files/patch-libcurv_viewer_text.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
252 B
C++

--- libcurv/viewer/text.cc.orig 2019-10-22 18:22:58 UTC
+++ libcurv/viewer/text.cc
@@ -1,6 +1,7 @@
#include "text.h"
#include <algorithm>
+#include <sys/types.h>
std::string getLower(const std::string& _string) {
std::string std = _string;