diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-01-16 15:49:47 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-01-16 15:49:47 +0000 |
commit | 4d5436ad80b0c5650cab08b74a1fc7ecaa7d82ce (patch) | |
tree | 6880ea3000a8313aa5025232f000d4c5cd7cedad /graphics/MesaLib/patches | |
parent | 0f25e420d249f3651e7a4b40b278765e08b9e1dc (diff) | |
download | pkgsrc-4d5436ad80b0c5650cab08b74a1fc7ecaa7d82ce.tar.gz |
MesaLib: Fix "C++11 requires a space between literal and identifier".
Diffstat (limited to 'graphics/MesaLib/patches')
-rw-r--r-- | graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__debug.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__debug.h b/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__debug.h new file mode 100644 index 00000000000..cb4752473e7 --- /dev/null +++ b/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__debug.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_gallium_drivers_nouveau_nouveau__debug.h,v 1.1 2018/01/16 15:49:47 jperkin Exp $ + +Avoid "C++11 requires a space between literal and identifier" error. + +--- src/gallium/drivers/nouveau/nouveau_debug.h.orig 2016-05-09 12:20:52.000000000 +0000 ++++ src/gallium/drivers/nouveau/nouveau_debug.h +@@ -16,7 +16,7 @@ + #define NOUVEAU_DEBUG 0 + + #define NOUVEAU_ERR(fmt, args...) \ +- fprintf(stderr, "%s:%d - "fmt, __FUNCTION__, __LINE__, ##args) ++ fprintf(stderr, "%s:%d - " fmt, __FUNCTION__, __LINE__, ##args) + + #define NOUVEAU_DBG(ch, args...) \ + if ((NOUVEAU_DEBUG) & (NOUVEAU_DEBUG_##ch)) \ |