[PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf
alan.coopersmith at oracle.com
Sun Jan 5 17:31:45 PST 2014
On 01/ 5/14 10:32 AM, Patrik Jakobsson wrote:
> On Sun, Jan 5, 2014 at 7:10 PM, Alan Coopersmith
> <alan.coopersmith at oracle.com> wrote:
>> On 01/ 4/14 11:35 AM, Patrik Jakobsson wrote:
>>> asprintf needs _GNU_SOURCE to be defined or you'll get an implicit
>>> and build failure. I fixed it with:
>> Only on Linux, and you should be using xf86-input-evdev there, not -mouse.
> Ah, ok. I saw you took the patch anyways. Might do some good somewhere.
Yes, it's still handy for our maintainers/developers to be able to build it
on Linux, even if we suggest Linux distros don't need to package it and Linux
users shouldn't be using it.
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel