1276N/AFrom: Alan Coopersmith <alan.coopersmith@oracle.com>
1276N/ASubject: [PATCH:tigervnc-trunk] Make fb header transformations work with Xorg 1.2.1
1276N/AThe reformatting of all the Xserver sources in the 1.12.1 release changed
1276N/Athe headers so now some of them have multiple instances of the C++ "and"
1276N/Aand "xor" keywords on the same line, so the hack to sanitize them needs
1276N/Ato use the sed "g" flag to replace all instances, not just the first.
1276N/AOtherwise, the build fails with strange errors such as:
1276N/A"
fb.h", line 817: Error: Unexpected type name "FbBits" encountered.
1276N/A"
fb.h", line 818: Error: Unexpected type name "FbStride" encountered.
1276N/A"
fb.h", line 818: Error: dstStride is not defined.
1276N/A"
fb.h", line 819: Error: Badly formed expression.
1276N/ASigned-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1276N/Aindex 1db0155..6604a87 100644
1276N/A BUILT_SOURCES = $(nodist_Xvnc_SOURCES)
1276N/A+ cat $(top_srcdir)
/fb/fb.h | sed -e 's,and,c_and,g' -e 's,xor,c_xor,g' > $(srcdir)/
fb.h