[Top][All Lists]

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

Re: Fwd: [PATCH]libtorrent: FTBFS on hurd-i386: error: 'IPV6_TCLASS' was

From: Samuel Thibault
Subject: Re: Fwd: [PATCH]libtorrent: FTBFS on hurd-i386: error: 'IPV6_TCLASS' was not declared in this scope.
Date: Fri, 30 Apr 2021 10:11:38 +0200
User-agent: NeoMutt/20170609 (1.8.3)

haha wang, le ven. 30 avril 2021 16:49:24 +0900, a ecrit:
>       It might be reasonable to define the `IPV6_TCLASS` with what the
> linux does,

Usually the Hurd rather follows the BSD values.

(and the pfinet stack just follows that, even if that's the Linux code).

>        Disabling the usage of `IPV6_TCLASS` when it is not defined. Now
> I would have this quick fix, by changing

That's much simpler, yes.

>        SocketFd::set_priority(priority_type p) {

That looks like something which can be optional indeed.

>       Follow what the #2 does, but always return a true, it seems cause
> no demage to the `libtorrent` but it's not rigorous since we do not
> actually set the priority.

Better return false indeed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]