The fbcmap.c file used by Xdmx _must_ be compiled with XFree86Server defined.

Otherwise, Xdmx generates a slew of protocol errors.
(cherry picked from 945b7c6394 commit)
This commit is contained in:
Brian 2006-09-23 10:35:25 -06:00 committed by Adam Jackson
parent 26a94bab11
commit 32c293aa1c

View file

@ -16,6 +16,9 @@ GLX_INCS = -I$(top_srcdir)/hw/xfree86/dixmods/extmod \
GLX_DEFS = @GL_CFLAGS@
endif
# It's essential that fbcmap.c be compiled with this flag for DMX to work!!
DMX_CFLAGS = -DXFree86Server=1
if BUILDDOCS
SUBDIRS += doc
endif
@ -86,6 +89,7 @@ Xdmx_CFLAGS = \
$(DIX_CFLAGS) \
$(GLX_INCS) \
$(GLX_DEFS) \
$(DMX_CFLAGS) \
@DMXMODULES_CFLAGS@
# Man page