Subject: bug#32194: [PATCH] Use Gnulib regex for lib-src

From: Andy Moreton <[email-masked]>
Date: Mon, 06 Aug 2018 16:40:02 +0100

On Mon 06 Aug 2018, Eli Zaretskii wrote:

>> From: Andy Moreton <[email-masked]>
>> Date: Mon, 06 Aug 2018 11:59:05 +0100
>> 
>> On Sun 05 Aug 2018, Paul Eggert wrote:
>> 
>> > OK, I've installed the patch into master and am marking this bug report as
>> > done. There are several other ways the Emacs regex code can be improved; that
>> > can wait until later, though.
>> 
>> This breaks the build on Windows mingw64 x86_64 (MSYS2):
>> 
>>   CCLD     etags.exe
>> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
>> ../lib/libgnu.a(regex.o): in function `init_dfa':
>> C:/emacs/git/emacs/master/lib/regcomp.c:889: undefined reference to `nl_langinfo'
>> collect2.exe: error: ld returned 1 exit status
>> make[1]: *** [Makefile:369: etags.exe] Error 1
>> make[1]: Leaving directory '/c/emacs/git/emacs/master/build/mingw64-x86_64/lib-src'
>> make: *** [Makefile:405: lib-src] Error 2
>> mkemacs-msys2: failed (rc=2): 'make'
>
> Thanks, should be fixed now.

I've not run any tests yet, but bootstrapping now completes.

Thanks,

    AndyM