[Bug 242235] cad/openvsp: fix build on non-x86

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 25 20:41:50 UTC 2019


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

            Bug ID: 242235
           Summary: cad/openvsp: fix build on non-x86
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fernape at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: fernape at FreeBSD.org
             Flags: maintainer-feedback?(fernape at FreeBSD.org)

Created attachment 209426
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209426&action=edit
patch

Don't use amd64 code on all 64-bit architectures.
Include sys/param.h because of:
/usr/local/poudriere/ports/default/cad/openvsp/work/OpenVSP-OpenVSP_3.19.0/src/util/FileUtil.cpp:118:18:
error: 'PATH_MAX' was not declared in this scope
  118 |     char exepath[PATH_MAX];
      |                  ^~~~~~~~

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


More information about the freebsd-ports-bugs mailing list