[PATCH xf86-video-sis 3/3] Enable SISGAMMARAMP macro on X.Org X Server

Kevin Brace kevinbrace at gmx.com
Tue Nov 26 17:36:09 UTC 2019


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/sis.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sis.h b/src/sis.h
index c2da9e1..789b1d6 100644
--- a/src/sis.h
+++ b/src/sis.h
@@ -277,7 +277,7 @@

 #undef SISGAMMARAMP
 #ifdef XORG_VERSION_CURRENT
-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(6,8,99,13,0)
+#if (XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(6,8,99,13,0)) || (XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,0,0,0,0))
 #define SISGAMMARAMP		/* Driver can set gamma ramp; requires additional symbols in xf86sym.h */
 #endif
 #endif
--
2.17.1



More information about the xorg-devel mailing list