[PATCH xserver] meson: ensure the libc has RPC functions when secure-rpc is enabled

Adam Jackson ajax at nwnk.net
Tue Jul 3 21:16:44 UTC 2018


On Fri, 2018-06-22 at 12:49 -0400, Lyude Paul wrote:
> Currently our meson.build just makes the assumption that the libc is
> going to provide RPC functions. This doesn't actually seem to be the
> case on Fedora, which causes compilation to fail unexpectedly:
> 
> ../../Projects/xserver/os/rpcauth.c:47:10: fatal error: rpc/rpc.h: No such file or directory
>  #include <rpc/rpc.h>
>           ^~~~~~~~~~~
> compilation terminated.
> 
> So, in the event that we can't use libtirpc ensure that we actually
> check whether or not the libc provides rpc/rpc.h. If it doesn't, raise
> an error.
> 
> Signed-off-by: Lyude Paul <lyude at redhat.com>

Merged, thanks:

remote: I: patch #231304 updated using rev d95a1310ef8e08a93a28f9766d1b4093f7891404.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   d83efc47b7..d95a1310ef  master -> master

- ajax


More information about the xorg-devel mailing list