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