Hi Ferenc,

timeout is defined as "struct timeval":

       struct timeval {
           time_t       tv_sec;   /* Seconds */
           suseconds_t  tv_usec;  /* Microseconds */
       };

timeout.tv_used is suseconds_t == time_t == int, so I can't understand why
it's unsigned in your case.

If you dig in src/main.c there are more lines with timeout.tv_used being
compared with negative numbers, your patch may work but I think it has to
be something else.

Have you tried just compiling the slirp package? Maybe it's a problem with
libc6 linking, https://tracker.debian.org/pkg/slirp warns that slirp "Fails
to build during reproducibility testing". I'm looking into this.

-- 
Regards,
Roberto Lumbreras
Debian developer

Reply via email to