[Bug 238066] graphics/ipe: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 23 07:30:42 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238066

            Bug ID: 238066
           Summary: graphics/ipe: fix build with GCC-based architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh at freebsd.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: bofh at freebsd.org
             Flags: maintainer-feedback?(bofh at freebsd.org)

Created attachment 204561
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204561&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list