... where AF_INET6 is defined at buildtime - but ipv6 is not available at runtime - rbpi and openelec on fusion for example) - thx to ribbon10
@gimli could you give this a shot on rbpi before i merge?
you should see somthing like
"20:20:37 T:140102717941568 DEBUG: AIRTUNES: Failed to create ipv6 socket. Trying ipv4"
in the log and it should work.
[libshairport] - add patch for fixing fallback from ipv6 to ipv4 (nee…
…ded where AF_INET6 is defined at buildtime - but ipv6 is not available at runtime - rbpi for example) - thx to ribbon10
ping @huceke - forgot that "gimli" won't trigger you here ;)
@Memphiz quite hard to test. My environment for the PI is IPV6 enabled.
so the ipv6 patch was commented out in yourdeps for openelec only?
No. I use a buildroot environment ;)
I know that - but why was this patch excluded from the rbpi depends?
Tested the patch with RPI and OpenELEC r12056 (that includes xbmc-frodo-f13566b wich have the BXA Demuxer) and it works fine for me.
But I do not know how this behaves on darwin or android.
Just for info OpenELEC has disabled IPv6: https://github.com/OpenELEC/OpenELEC.tv/blob/master/projects/RPi/linux/linux.arm.conf#L479
Well i guess (hope) it behaves the same for darwin and android of course. At least it doesn't behave different on ipv6 enabled env (as far as i have tested it on darwin - no android testbox yet).
Can someone proof that the patch works under IPv6 enabled environments. If so this will minimize the risk a little bit that it breaks something.
As said - works same on linux and darwin with ipv6 enabled env.
seems to work on OpenELEC too, thanks much