Le Thu, Oct 26, 2023 at 02:31:09PM +0000, Sergey A. Osokin a écrit :
> On Thu, Oct 26, 2023 at 03:53:07PM +0200, Landry Breuil wrote:
> [...]
> > 
> > asking for the second or third time.. would it be possible to fix
> > upstream so that it can build itself if the previous version is
> > installed ?
> 
> I'm working on that.
> 
> > otherwise it still fails:
> > 
> > src/njs_flathsh.c:166:1: error: no previous prototype for function 
> > 'njs_flathsh_destroy' [-Werror,-Wmissing-prototypes]
> > njs_flathsh_destroy(njs_flathsh_t *fh, njs_flathsh_query_t *fhq)
> > 
> > just because the order of includes is wrong.. '-I/usr/local/include  -Isrc  
> > -Ibuild  -I/usr/local/include/libxml2 -I/usr/local/include'
> > 
> > that doesnt happen when building the nginx njs module which uses '-I 
> > /usr/local/include/libxml2 -I /usr/local/include -Isrc -Ibuild -Injs'
> > 
> > would be nice :)
> 
> I attached a small patch from the lang/njs/patches directory,
> that works for me.  So, REVISION for the lang/njs/Makefile needs
> to be bumped to `0'.

yep, perfect - 0.8.2 now builds while 0.8.1 is installed.. also commited !

Reply via email to