summaryrefslogtreecommitdiff
path: root/repo/vlc/vlc-live-media-2021.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/vlc/vlc-live-media-2021.patch
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/vlc/vlc-live-media-2021.patch')
-rw-r--r--repo/vlc/vlc-live-media-2021.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/vlc/vlc-live-media-2021.patch b/repo/vlc/vlc-live-media-2021.patch
new file mode 100644
index 0000000..5ca5cb3
--- /dev/null
+++ b/repo/vlc/vlc-live-media-2021.patch
@@ -0,0 +1,26 @@
+diff -ru vlc-3.0.13.orig/configure.ac vlc-3.0.13/configure.ac
+--- vlc-3.0.13.orig/configure.ac 2021-04-27 15:18:39.000000000 +0200
++++ vlc-3.0.13/configure.ac 2021-05-03 16:26:26.691200904 +0200
+@@ -1825,7 +1825,7 @@
+ AC_MSG_ERROR([Update live555 or pass --disable-live555 to disable RTSP input support.])
+ ])
+ ], [
+- other_libs="-lgroupsock -lBasicUsageEnvironment -lUsageEnvironment"
++ other_libs="-lcrypto -lssl -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment"
+ other_libs_pic="-lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic"
+ AS_IF([test "${SYS}" = "mingw32"], [
+ # add ws2_32 for closesocket, select, recv
+diff -ru vlc-3.0.13.orig/modules/access/live555.cpp vlc-3.0.13/modules/access/live555.cpp
+--- vlc-3.0.13.orig/modules/access/live555.cpp 2019-03-29 20:01:15.000000000 +0100
++++ vlc-3.0.13/modules/access/live555.cpp 2021-05-03 16:04:38.030121796 +0200
+@@ -852,7 +852,9 @@
+ if( !p_sys->b_multicast )
+ {
+ /* We need different rollover behaviour for multicast */
+- p_sys->b_multicast = IsMulticastAddress( sub->connectionEndpointAddress() );
++ struct sockaddr_storage tempAddr;
++ sub->getConnectionEndpointAddress(tempAddr);
++ p_sys->b_multicast = IsMulticastAddress( tempAddr );
+ }
+
+ tk = (live_track_t*)malloc( sizeof( live_track_t ) );