VirtualGL: fix gcc6 build
This commit is contained in:
parent
469a5068c1
commit
016d46fe69
1 changed files with 14 additions and 0 deletions
14
srcpkgs/VirtualGL/patches/fix-gcc6-string_literal.patch
Normal file
14
srcpkgs/VirtualGL/patches/fix-gcc6-string_literal.patch
Normal file
|
@ -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)
|
Loading…
Reference in a new issue