Page MenuHomeFreeBSD

cad/openvsp: fix build on non-x86
ClosedPublic

Authored by pkubaj on Nov 27 2019, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 5 2024, 9:47 PM
Unknown Object (File)
Sep 5 2024, 4:01 AM
Unknown Object (File)
Sep 4 2024, 6:09 AM
Unknown Object (File)
Aug 15 2024, 9:44 PM
Unknown Object (File)
Jul 29 2024, 7:06 AM
Unknown Object (File)
Jul 16 2024, 12:36 PM
Unknown Object (File)
Jul 15 2024, 1:31 AM
Unknown Object (File)
Jul 14 2024, 3:47 AM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable