Re: gperf 3.1 breaks module unicase

2017-05-18 Thread Bruno Haible
On 2017-02-13 I wrote: > If you have some more time to play with it, how about mechanically copying > the declaration from the generated file into lib/unicase/special-casing.h ? > I mean, to modify the module description with a command such as > > grep '^gl_unicase_special_lookup' $(srcdir)/unic

Re: gperf 3.1 breaks module unicase

2017-02-15 Thread Tim Ruehsen
Hi, just want to share my solution (project Wget), in case anyone needs a quick solution to work with gperf < 3.1 and latest gnulib (using unicode stuff). Darshit updated gnulib for Wget yesterday and that broke my builds (Debian unstable, gperf 3.0.4). I added the following to bootstrap.conf:

Re: gperf 3.1 breaks module unicase

2017-02-13 Thread Bruno Haible
Hi Darshit, > I've attached a simple patch that fixes the build on my end. This simply > assumes the latest version of Gperf is used to generate the files. Thanks. I've applied your patch (with an added space between '#include' and the file name - to follow common coding conventions). If you ha

Re: gperf 3.1 breaks module unicase

2017-02-13 Thread Darshit Shah
I've attached a simple patch that fixes the build on my end. This simply assumes the latest version of Gperf is used to generate the files. * Paul Eggert [170213 17:15]: On 02/13/2017 07:24 AM, Darshit Shah wrote: simply changing the prototype will cause builds to fail with older versions of

Re: gperf 3.1 breaks module unicase

2017-02-13 Thread Eric Blake
On 02/13/2017 09:50 AM, Paul Eggert wrote: > On 02/13/2017 07:24 AM, Darshit Shah wrote: >> simply changing the prototype will cause builds to fail with older >> versions of gperf. > > Simplest would be to change it to size_t, as we can assume developers > using gnulib have recent developer tools.

Re: gperf 3.1 breaks module unicase

2017-02-13 Thread Darshit Shah
Sure, if making such a change is okay, I can prepare the patch quickly. I will also go through all the other gperf files in the repository and update their respective prototypes as well. * Paul Eggert [170213 17:15]: On 02/13/2017 07:24 AM, Darshit Shah wrote: simply changing the prototype w

Re: gperf 3.1 breaks module unicase

2017-02-13 Thread Paul Eggert
On 02/13/2017 07:24 AM, Darshit Shah wrote: simply changing the prototype will cause builds to fail with older versions of gperf. Simplest would be to change it to size_t, as we can assume developers using gnulib have recent developer tools. Could you prepare a patch along those lines?