[PATCH 0/2] Solaris support for XTRANS_SEND_FDS

Adam Jackson ajax at nwnk.net
Fri Nov 8 09:43:18 PST 2013


On Thu, 2013-11-07 at 21:13 -0800, Alan Coopersmith wrote:
> After applying these two patches on top of Keith's current tree, plus the
> changes just pushed to libxtrans & libxcb, I was able to get the expected
> colorful squares display on Solaris using the shmfd test program from
> ssh://people.freedesktop.org/~keithp/shmfd .
> 
> Alan Coopersmith (2):
>   Avoid conflicts with Solaris <sys/regset.h> defines that clash with
>     our names
>   Enable XTRANS_SEND_FDS on Solaris too.
> 
>  configure.ac                       |    3 ++-
>  hw/xfree86/x86emu/decode.c         |   10 ++++++++++
>  hw/xfree86/x86emu/x86emu/regs.h    |    9 +++++++++
>  hw/xfree86/x86emu/x86emu/x86emui.h |   12 +++++++++++-
>  include/dix-config.h.in            |    8 ++++++++
>  record/record.c                    |    4 ++++
>  6 files changed, 44 insertions(+), 2 deletions(-)

Another way to address this would be to redef _XOPEN_SOURCE to something
lesser in x86emu (or undef it entirely) since it _really_ doesn't care
about unix.  But this all looks good, and it's not like x86emu can get
significantly more ugly anyway.

Series:

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax



More information about the xorg-devel mailing list