upgpkg: ocaml-integers 0.5.0-1
[arch-packages.git] / vlc / trunk / vlc-live-media-2021.patch
blob5ca5cb30cd63c8009088e956166b7f1fafecaed6
1 diff -ru vlc-3.0.13.orig/configure.ac vlc-3.0.13/configure.ac
2 --- vlc-3.0.13.orig/configure.ac 2021-04-27 15:18:39.000000000 +0200
3 +++ vlc-3.0.13/configure.ac 2021-05-03 16:26:26.691200904 +0200
4 @@ -1825,7 +1825,7 @@
5 AC_MSG_ERROR([Update live555 or pass --disable-live555 to disable RTSP input support.])
6 ])
7 ], [
8 - other_libs="-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment"
9 + other_libs="-lcrypto -lssl -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment"
10 other_libs_pic="-lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic"
11 AS_IF([test "${SYS}" = "mingw32"], [
12 # add ws2_32 for closesocket, select, recv
13 diff -ru vlc-3.0.13.orig/modules/access/live555.cpp vlc-3.0.13/modules/access/live555.cpp
14 --- vlc-3.0.13.orig/modules/access/live555.cpp 2019-03-29 20:01:15.000000000 +0100
15 +++ vlc-3.0.13/modules/access/live555.cpp 2021-05-03 16:04:38.030121796 +0200
16 @@ -852,7 +852,9 @@
17 if( !p_sys->b_multicast )
19 /* We need different rollover behaviour for multicast */
20 - p_sys->b_multicast = IsMulticastAddress( sub->connectionEndpointAddress() );
21 + struct sockaddr_storage tempAddr;
22 + sub->getConnectionEndpointAddress(tempAddr);
23 + p_sys->b_multicast = IsMulticastAddress( tempAddr );
26 tk = (live_track_t*)malloc( sizeof( live_track_t ) );