mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
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>
12 lines
312 B
C++
12 lines
312 B
C++
--- src/libprojectM/Renderer/ShaderEngine.cpp.orig 2018-12-03 11:18:41 UTC
|
|
+++ src/libprojectM/Renderer/ShaderEngine.cpp
|
|
@@ -16,6 +16,9 @@
|
|
#include <glm/gtc/type_ptr.hpp>
|
|
#include <set>
|
|
#include <regex>
|
|
+#ifdef __FreeBSD__
|
|
+#include <sys/types.h>
|
|
+#endif
|
|
|
|
#ifdef USE_GLES
|
|
#define GLSL_VERSION "300 es"
|