[PATCH] Fix hurd bootstrap after 4c6f92daead
Paul Eggert
eggert@cs.ucla.edu
Tue May 19 16:37:42 GMT 2026
On 2026-05-19 09:08, Adhemerval Zanella Netto wrote:
> private.h:1075:10: error: ‘_’ redefined [-Werror]
> 1075 | # define _(msgid) gettext(msgid)
> | ^
> In file included from private.h:266:
> ../include/libintl.h:48:10: note: this is the location of the previous definition
> 48 | # define _(msgid) __dcgettext (_libc_intl_domainname, msgid, LC_MESSAGES)
Thanks for explaining. I suggest the attached patch instead, for the
part of the hurd bootstrap patch that affects timezone/private.h. This
patch is slightly more general, the idea being to work better in other
plausible non-glibc environments. I installed the attached patch into
tzdb upstream.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Let-build-environment-override-_-N_.patch
Type: text/x-patch
Size: 1256 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260519/72d52024/attachment.bin>
More information about the Libc-alpha
mailing list