Page MenuHomeFreeBSD

cad/openvsp: fix build on non-x86
ClosedPublic

Authored by pkubaj on Wed, Nov 27, 7:22 PM.

Details

Summary

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];
    |                  ^~~~~~~~

PR: 242235

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Wed, Nov 27, 7:22 PM
This revision is now accepted and ready to land.Wed, Nov 27, 7:28 PM
This revision was automatically updated to reflect the committed changes.