Created attachment 290225 [details, diff] Fix build with >=gnutls-3 The default lowat level for =gnutls-2.12* is set to zero to avoid unnecessary system calls and the gnutls_transport_set_lowat function has been totally removed in >=gnutls-3. Therefore, the function shouldn't be used except for versions that require it, <gnutls-2.12.0. The attached patch fixes the issue.
To be clear, in this case calling gnutls_transport_set_lowat for =gnutls-2.12* is useless since the default value is already set to 0.
I just pushed the patch upstream as well.
(In reply to comment #2) > I just pushed the patch upstream as well. This has now been pulled into upstream master.
Thanks for your work. Given that gnutls-3 is still masked and curl releases are fairly often, I'll wait for a release that includes the patch.
looks like your change was rewritten upstream :). see commit f5bb37018647f6088398ca127235ce776eec9bbe. at any rate, does this need to be added to current ebuilds ? looks like the 7.23.1 release includes the fix.
(In reply to comment #5) > looks like your change was rewritten upstream :). see commit > f5bb37018647f6088398ca127235ce776eec9bbe. Hah, yeah. I missed that issue since I don't build anything on Windows. > at any rate, does this need to be added to current ebuilds ? looks like the > 7.23.1 release includes the fix. Nope, everything should be fixed in current releases.