[vlc-devel] Re: PATCH: BeOS Build Bustage (UDP) + new icon

Derk-Jan Hartman hartman at videolan.org
Mon Dec 12 02:13:27 CET 2005


Yes i did :D

DJ

On 12-dec-2005, at 1:18, Cian Duffy wrote:

> 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.
>
> Cian
>
> On 11/12/05, Derk-Jan Hartman <hartman at videolan.org> wrote: On 5- 
> dec-2005, at 15:49, Cian Duffy wrote:
> > The most recent changes to src/network/udp.c break the build on
> > BeOS R5, which has minimal setsockopt() options. This patch
> > comments out the offending code, and appears to still work -
> > although UDP support is extremely poor on BeOS R5 anyway.
> >
> > In addition, the attached binary (sorry, has to be) .rsrc file
> > contains the new icon for BeOS builds.
>
> Your updated .rsrc file has been accepted (untested btw).
> The UDP patch is not just yet.
> Keep bugging us about it if we forget please.
>
> DJ
>
>
>
> > Cian
> >
> > Index: src/network/udp.c
> > ===================================================================
> > --- src/network/udp.c    (revision 13561)
> > +++ src/network/udp.c    (working copy)
> > @@ -64,6 +64,7 @@
> >  extern int net_Socket( vlc_object_t *p_this, int i_family, int
> > i_socktype,
> >                         int i_protocol );
> >
> > +#if !defined( SYS_BEOS )
> >
> >  static void net_SetMcastHopLimit( int fd, int family, int hlim )
> >  {
> > @@ -101,6 +102,7 @@
> >      }
> >  }
> >
> > +#endif
> >
> >  /
> >  
> **********************************************************************
> > *******
> >   * __net_ConnectUDP:
> > @@ -167,10 +169,11 @@
> >              setsockopt( fd, SOL_SOCKET, SO_SNDBUF, (void *)&i_val,
> >                          sizeof( i_val ) );
> >          }
> > -#endif
> >
> >          net_SetMcastHopLimit( fd, ptr->ai_family, i_hlim );
> >
> > +#endif
> > +
> >          if( connect( fd, ptr->ai_addr, ptr->ai_addrlen ) == 0 )
> >          {
> >              /* success */
> >
> >
> > --
> > -------------------------
> > "We're busy running out of time"
> > <vlc_beos.rsrc>
>
> --
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>
>
>
>
> -- 
> -------------------------
> "We're busy running out of time"

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list