--- Makefile (revision 486501) +++ Makefile (working copy) @@ -17,7 +17,8 @@ libvisual-0.4.so:graphics/libvisual04 RUN_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm -USES= autoreconf:build gl gmake libtool localbase:ldflags pkgconfig qt:5 +USES= autoreconf:build compiler:c++11-lang gl gmake libtool \ + localbase:ldflags pkgconfig qt:5 USE_GITHUB= yes GH_ACCOUNT= projectM-visualizer --- files/patch-src_libprojectM_Renderer_ShaderEngine.cpp (nonexistent) +++ files/patch-src_libprojectM_Renderer_ShaderEngine.cpp (working copy) @@ -0,0 +1,12 @@ +--- src/libprojectM/Renderer/ShaderEngine.cpp.orig 2018-12-03 11:18:41 UTC ++++ src/libprojectM/Renderer/ShaderEngine.cpp +@@ -16,6 +16,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + + #ifdef USE_GLES + #define GLSL_VERSION "300 es" --- files/patch-src_libprojectM_Renderer_hlslparser_src_HLSLParser.cpp (nonexistent) +++ files/patch-src_libprojectM_Renderer_hlslparser_src_HLSLParser.cpp (working copy) @@ -0,0 +1,12 @@ +--- src/libprojectM/Renderer/hlslparser/src/HLSLParser.cpp.orig 2018-12-03 11:23:19 UTC ++++ src/libprojectM/Renderer/hlslparser/src/HLSLParser.cpp +@@ -20,6 +20,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + + namespace M4 + {