diff --git a/srcpkgs/VirtualGL/patches/fix-gcc6-string_literal.patch b/srcpkgs/VirtualGL/patches/fix-gcc6-string_literal.patch new file mode 100644 index 00000000000..9e10c80e351 --- /dev/null +++ b/srcpkgs/VirtualGL/patches/fix-gcc6-string_literal.patch @@ -0,0 +1,14 @@ +With gcc6 there is a space required between string literals +and macro parameters. + +--- server/VirtualDrawable.cpp 2016-02-16 03:25:04.000000000 +0100 ++++ server/VirtualDrawable.cpp 2016-10-03 15:59:16.995129603 +0200 +@@ -27,7 +27,7 @@ + using namespace vglserver; + + +-#define CHECKGL(m) if(glError()) _throw("Could not "m); ++#define CHECKGL(m) if(glError()) _throw("Could not " m); + + // Generic OpenGL error checker (0 = no errors) + static int glError(void)