Created attachment 208602 [details] patch Merge upstream patch to fix build with GCC. Also add USES=gl xorg.
Approved as mentor (builds on ppcports) pending maintainer review.
A commit references this bug: Author: pkubaj Date: Sat Nov 9 13:01:16 UTC 2019 New revision: 517126 URL: https://svnweb.freebsd.org/changeset/ports/517126 Log: cad/librecad: fix build on GCC architectures Merge upstream patch to fix build with GCC. PR: 241496 Approved by: jhale (maintainer timeout), linimon (mentor) Changes: head/cad/librecad/Makefile head/cad/librecad/distinfo