[Buildroot] [PATCH] package/libcap: fix build with gperf >= 3.1
romain.naour at smile.fr
Wed Jan 18 10:43:28 UTC 2017
Le 2017-01-18 11:31, Peter Korsgaard a écrit :
>>>>>> "Romain" == Romain Naour <romain.naour at gmail.com> writes:
>> See gperf 3.1 ChangeLog:
>> * The 'len' parameter of the hash function and of the lookup function
> is now
>> of type 'size_t' instead of 'unsigned int'. This makes it safe to
>> functions with strings of length > 4 GB, on 64-bit machines.
> Have you submitted this patch upstream? Doesn't this then break
> against gperf <3.1?
Not yet. Indeed it break with gperf < 3.1 :-/
But I don't see how we can easily/properly handle the gperf version
in the libcap Makefile...
> I think I'll apply Gustavoz patch to (temporarily) revert the gperf
> instead. Once we have sorted out this libcap issue (and apparently
> as well) we can bump the version again.
Ok, it will give some time to Alvaro for investigation and test.
More information about the buildroot