On IRIX, x11-libs/libXi-1.3.0 fails with: cc-1119 cc: ERROR File = XListDProp.c, Line = 53 The "return" expression type differs from the function return type. return (NoSuchExtension); ^ 1 error detected in the compilation of "XListDProp.c". ... which can be trivially fixed with the patch: --- var/tmp/portage/x11-libs/libXi-1.2.0/work/libXi-1.2.0/src/XListDProp.c.dist 2009-01-15 10:43:57.530778400 +0000 +++ var/tmp/portage/x11-libs/libXi-1.2.0/work/libXi-1.2.0/src/XListDProp.c 2009-01-15 10:44:21.486720000 +0000 @@ -50,7 +50,7 @@ XListDeviceProperties(Display* dpy, XDev LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1) - return (NoSuchExtension); + return ((Atom*)NoSuchExtension); GetReq(ListDeviceProperties, req); req->reqType = info->codes->major_opcode;
please in the future attach patches as attachments, that way I don't have to reproduce them (tabs, spaces, line wraps, etc.) Patch added, thanks!