Created attachment 199794 [details] patch There are two issues here: 1. GLM requires at least GCC 4.7, base has 4.2. Add USES=compiler:c++11-lang to solve it. 2. the port uses typedefs from sys/types.h, but those are not included by default by GCC. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
Committed, thanks!
A commit references this bug: Author: yuri Date: Tue Dec 4 05:38:20 UTC 2018 New revision: 486584 URL: https://svnweb.freebsd.org/changeset/ports/486584 Log: graphics/libprojectm: fix build with GCC-based architectures There are two issues here: 1. GLM requires at least GCC 4.7, base has 4.2. Add USES=compiler:c++11-lang to solve it. 2. the port uses typedefs from sys/types.h, but those are not included by default by GCC. PR: 233748 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Changes: head/graphics/libprojectm/Makefile head/graphics/libprojectm/files/patch-src_libprojectM_Renderer_ShaderEngine.cpp head/graphics/libprojectm/files/patch-src_libprojectM_Renderer_hlslparser_src_HLSLParser.cpp