diff options
-rw-r--r-- | math/curv/files/patch-libcurv_viewer_fbo.cc | 10 | ||||
-rw-r--r-- | math/curv/files/patch-libcurv_viewer_mesh.cc | 10 | ||||
-rw-r--r-- | math/curv/files/patch-libcurv_viewer_text.cc | 10 | ||||
-rw-r--r-- | math/curv/files/patch-libcurv_viewer_vertexLayout.cc | 9 |
4 files changed, 39 insertions, 0 deletions
diff --git a/math/curv/files/patch-libcurv_viewer_fbo.cc b/math/curv/files/patch-libcurv_viewer_fbo.cc new file mode 100644 index 000000000000..b29439332695 --- /dev/null +++ b/math/curv/files/patch-libcurv_viewer_fbo.cc @@ -0,0 +1,10 @@ +--- libcurv/viewer/fbo.cc.orig 2019-10-22 18:20:49 UTC ++++ libcurv/viewer/fbo.cc +@@ -25,6 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH D + + #include "fbo.h" + #include <iostream> ++#include <sys/types.h> + + Fbo::Fbo():m_id(0), m_old_fbo_id(0), m_texture(0), m_depth_buffer(0), m_width(0), m_height(0), m_allocated(false), m_binded(false) { + } diff --git a/math/curv/files/patch-libcurv_viewer_mesh.cc b/math/curv/files/patch-libcurv_viewer_mesh.cc new file mode 100644 index 000000000000..8d0d213e8461 --- /dev/null +++ b/math/curv/files/patch-libcurv_viewer_mesh.cc @@ -0,0 +1,10 @@ +--- 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" diff --git a/math/curv/files/patch-libcurv_viewer_text.cc b/math/curv/files/patch-libcurv_viewer_text.cc new file mode 100644 index 000000000000..60b01cdb0b05 --- /dev/null +++ b/math/curv/files/patch-libcurv_viewer_text.cc @@ -0,0 +1,10 @@ +--- 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; 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>(); + |