On Wed, Mar 13, 2024 at 10:44:07PM +0500, Andrey Rakhmatullin wrote: > On Wed, Mar 13, 2024 at 12:46:49PM +0100, Lucas Nussbaum wrote: > > > ../fonttosfnt/util.c: In function ‘vsprintf_alloc’: > > > ../fonttosfnt/util.c:89:10: error: implicit declaration of function > > > ‘vasprintf’; did you mean ‘vsprintf’? > > > [-Werror=implicit-function-declaration] > Looks like it's caused by the lack of -D_GNU_SOURCE, not sure who should > set it. There is a very old debian/changelog entry about temporarily > setting it from d/rules and fonttosfnt/write.c sets it but > fonttosfnt/util.c doesn't and there is nothing related in the autotools > stuff.
The Debian rules file is rather old, which may be the problem. https://salsa.debian.org/xorg-team/font/xfonts-utils In my (other) test packages, I haven't had to add -D_DEFAULT_SOURCE,** only for non-package builds has that been necessary. ** -D_GNU_SOURCE should only be used for the rare program relying upon non-POSIX interfaces. -- Thomas E. Dickey <dic...@invisible-island.net> https://invisible-island.net
signature.asc
Description: PGP signature