On Tue, Jan 14, 2020 at 11:32:46PM +0100, Matthieu Herrb wrote: > It used to return BSD > --- > src/CvtStdSel.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/CvtStdSel.c b/src/CvtStdSel.c > index 36423c6..d462273 100644 > --- a/src/CvtStdSel.c > +++ b/src/CvtStdSel.c > @@ -89,6 +89,9 @@ in this Software without prior written authorization from > The Open Group. > #ifdef CSRG_BASED > #define USE_UNAME > #endif > +#ifdef __linux__ > +#define USE_UNAME > +#endif > #endif /*X_OS_FILE*/ > #ifdef USE_UNAME > #include <sys/utsname.h> > -- > 2.24.1 >
BTW, https://gitlab.freedesktop.org/mherrb/tsel can be used to query all supported targets for the selection in a given application. Xterm is using XmuConvertStandardSelection, so querying a selection owned by an xterm linked against a libxmu with my patches can be used to test them. -- Matthieu Herrb
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel