Summary: | math/curv: fix build on GCC architectures | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||||
Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | yuri | ||||||
Priority: | --- | Flags: | yuri:
maintainer-feedback+
|
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
I have no idea why, but this fails to patch for me on both ppcports and my blackbird. I am investigating. (It patches on my x86 machines.) Created attachment 209098 [details]
v2
For some reason, makepatch generated a patch with wrong directories.
Approved as mentor (now builds on ppcports). A commit references this bug: Author: pkubaj Date: Wed Nov 27 19:47:31 UTC 2019 New revision: 518528 URL: https://svnweb.freebsd.org/changeset/ports/518528 Log: 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) Changes: head/math/curv/files/patch-libcurv_viewer_fbo.cc head/math/curv/files/patch-libcurv_viewer_mesh.cc head/math/curv/files/patch-libcurv_viewer_text.cc head/math/curv/files/patch-libcurv_viewer_vertexLayout.cc |
Created attachment 208511 [details] patch 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'?