NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/59543: Build fails on Linux host



The following reply was made to PR misc/59543; it has been noted by GNATS.

From: Hans Rosenfeld <hans%netbsd.org@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: joe%netbsd.org@localhost, gnats-bugs%netbsd.org@localhost, misc-bug-people%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost
Subject: Re: misc/59543: Build fails on Linux host
Date: Wed, 23 Jul 2025 17:47:59 +0200

 On Wed, Jul 23, 2025 at 01:49:02PM +0300, Andreas Gustafsson wrote:
 > Christos Zoulas via gnats wrote:
 > >  It must be some feature macro define; the file includes <sys/time.h> but
 > >  timercmp() is protected under __USE_MISC.
 > 
 > I bisected it, and the timercmp issue started with this commit:
 > 
 >   2025.07.20.12.32.19 hans src/external/mit/xorg/tools/fc-cache/Makefile 1.23
 
 To use timercmp(), _BSD_SOURCE needs to be defined (if this manpage is to
 be believed: https://linux.die.net/man/3/timercmp). Can you try adding
 -D_BSD_SOURCE to HOST_CPPFLAGS in the fc-cache Makefile?
 
 
 Hans
 
 
 -- 
 %SYSTEM-F-ANARCHISM, The operating system has been overthrown
 


Home | Main Index | Thread Index | Old Index