Summary: | graphics/ipe: fix build with GCC-based architectures | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Muhammad Moinur Rahman <bofh> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | bofh | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(bofh) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
This builds for me, so once the maintainer approves, consider this mentor approval. A commit references this bug: Author: bofh Date: Tue Jun 11 18:47:33 UTC 2019 New revision: 503974 URL: https://svnweb.freebsd.org/changeset/ports/503974 Log: graphics/ipe: fix build with GCC-based architectures PR: 238066 Submitted by: pkubaj Changes: head/graphics/ipe/Makefile head/graphics/ipe/files/patch-ipelib_ipeplatform.cpp (In reply to Mark Linimon from comment #1) I am sorry, I missed this comment. Otherwise I would have let pkubaj commit this one. Happy porting. |
Created attachment 204561 [details] patch Add include limits.h to ipelib/ipeplatform.cpp to find PATH_MAX: ipeplatform.cpp: In static member function 'static ipe::String ipe::Platform::realPath(ipe::String)': ipeplatform.cpp:420:14: error: 'PATH_MAX' was not declared in this scope char rpath[PATH_MAX]; ^~~~~~~~ ipeplatform.cpp:420:14: note: suggested alternative: 'INT8_MAX' char rpath[PATH_MAX]; ^~~~~~~~ INT8_MAX