Martin-Éric Racine, le mar. 21 juil. 2026 17:44:43 +0300, a ecrit: > ti 21.7.2026 klo 16.33 Samuel Thibault ([email protected]) kirjoitti: > > > > Martin-Éric Racine, le mar. 21 juil. 2026 16:12:54 +0300, a ecrit: > > > ti 21.7.2026 klo 0.11 Michael Kelly ([email protected]) kirjoitti: > > > > On 19/07/2026 09:30, Martin-Éric Racine wrote: > > > > > Since then, I got around packaging the latest upstream. If anybody > > > > > feels like porting that one, diffs are welcome. > > > > > > > > I don't think the required fixes for adjtime, which were merged to the > > > > glibc and gnumach sources, have made it to binary distribution yet. I'm > > > > happy to try to get the latest upstream working once that has happened. > > > > > > I have the enclosed diff so far. It somehow barfs at compiling > > > constraint.c: > > > > > > constraint.c: In function ‘priv_constraint_child’: > > > constraint.c:395:13: error: implicit declaration of function > > > ‘setresgid’; did you mean ‘setregid’? > > > > > > > > This shouldn't happen since unistd.h and time.h are included at the > > > start of the file. > > > > See the man setresgid etc. you need to #define _GNU_SOURCE to get these. > > What is the preferred way of checking if we are on Hurd to define it?
It's not specific to the Hurd, it's the same on Linux: if you don't define _GNU_SOURCE, you don't get the declaration of setresgid. Samuel
