I hope you got the second .rsrc I sent about ten minutes after this one and not the one attached to this - I forgot icon transperancy in the one attached to this, unfortunately. Thanks.<br><br>Cian<br><br><div><span class="gmail_quote">
On 11/12/05, <b class="gmail_sendername">Derk-Jan Hartman</b> <<a href="mailto:hartman@videolan.org">hartman@videolan.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 5-dec-2005, at 15:49, Cian Duffy wrote:<br>> The most recent changes to src/network/udp.c break the build on<br>> BeOS R5, which has minimal setsockopt() options. This patch<br>> comments out the offending code, and appears to still work -
<br>> although UDP support is extremely poor on BeOS R5 anyway.<br>><br>> In addition, the attached binary (sorry, has to be) .rsrc file<br>> contains the new icon for BeOS builds.<br><br>Your updated .rsrc file has been accepted (untested btw).
<br>The UDP patch is not just yet.<br>Keep bugging us about it if we forget please.<br><br>DJ<br><br><br><br>> Cian<br>><br>> Index: src/network/udp.c<br>> ===================================================================
<br>> --- src/network/udp.c (revision 13561)<br>> +++ src/network/udp.c (working copy)<br>> @@ -64,6 +64,7 @@<br>> extern int net_Socket( vlc_object_t *p_this, int i_family, int<br>> i_socktype,<br>> int i_protocol );
<br>><br>> +#if !defined( SYS_BEOS )<br>><br>> static void net_SetMcastHopLimit( int fd, int family, int hlim )<br>> {<br>> @@ -101,6 +102,7 @@<br>> }<br>> }<br>><br>> +#endif<br>>
<br>> /<br>> **********************************************************************<br>> *******<br>> * __net_ConnectUDP:<br>> @@ -167,10 +169,11 @@<br>> setsockopt( fd, SOL_SOCKET, SO_SNDBUF, (void *)&i_val,
<br>> sizeof( i_val ) );<br>> }<br>> -#endif<br>><br>> net_SetMcastHopLimit( fd, ptr->ai_family, i_hlim );<br>><br>> +#endif<br>> +<br>> if( connect( fd, ptr->ai_addr, ptr->ai_addrlen ) == 0 )
<br>> {<br>> /* success */<br>><br>><br>> --<br>> -------------------------<br>> "We're busy running out of time"<br>> <vlc_beos.rsrc><br><br>--<br>This is the vlc-devel mailing-list, see
<a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a><br>To unsubscribe, please read <a href="http://developers.videolan.org/lists.html">http://developers.videolan.org/lists.html</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>-------------------------<br>"We're busy running out of time"<br>