<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div>I posted this on linuxquestions for those who may not track this list, and figured this would be a good place to notify slackbuild's maintenance team. </div><div><br></div><div>-------------------</div><div><br></div><div>The libproxy slackbuild, which is an openconnect dependency, fails with <br>
<br>
</div><div style="margin:20px; margin-top:5px">
        <div class="smallfont" style="margin-bottom:2px">Code:</div>
        <pre class="bbcodeblock" dir="ltr" style="
                margin: 0px;
                margin-right: -99999px;
                padding: 3px;
                border: 1px inset;
                width: 98%;
                height: 66px;
                text-align: left;
                overflow: auto">/tmp/SBo/libproxy-0.4.7/libproxy/url.cpp:398:37: error: 'read' was not declared in this scope
/tmp/SBo/libproxy-0.4.7/libproxy/url.cpp:423:13: error: 'close' was not declared in this scope
/tmp/SBo/libproxy-0.4.7/libproxy/url.cpp:439:13: error: 'close' was not declared in this scope</pre>
</div>The solution is to add this line in libproxy-0.4.7/libproxy/url.cpp (which is in the libproxy-0.4.7.tar.gz file) - <br>
<br>
<div style="margin:20px; margin-top:5px">
        <div class="smallfont" style="margin-bottom:2px">Code:</div>
        <pre class="bbcodeblock" dir="ltr" style="
                margin: 0px;
                margin-right: -99999px;
                padding: 3px;
                border: 1px inset;
                width: 98%;
                height: 34px;
                text-align: left;
                overflow: auto">#Include <unistd.h> //For close(), read()</pre>
</div>I don't know how to create a patch but that's what I added manually and the build completed successfully.<br><br></div></body></html>