diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 8e9960fcb5b5..cab05edf8d5c 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -1,6 +1,6 @@ PORTNAME= vlc DISTVERSION= 3.0.21 -PORTREVISION= 11 +PORTREVISION= 12 PORTEPOCH= 4 CATEGORIES= multimedia audio net www MASTER_SITES= https://get.videolan.org/${PORTNAME}/${DISTVERSION:S/a$//}/ \ diff --git a/multimedia/vlc/files/patch-modules_access_live555.cpp b/multimedia/vlc/files/patch-modules_access_live555.cpp new file mode 100644 index 000000000000..e2cdbce158dd --- /dev/null +++ b/multimedia/vlc/files/patch-modules_access_live555.cpp @@ -0,0 +1,17 @@ +The signature of doEventLoop() was changed to match that of +triggerEvent(), by using std::atomic_char as the 'watch variable' +type in net/liveMedia 2024.11.28. + +--- modules/access/live555.cpp.orig 2024-06-05 15:56:07 UTC ++++ modules/access/live555.cpp +@@ -236,8 +236,8 @@ struct demux_sys_t + bool b_no_data; /* if we never received any data */ + int i_no_data_ti; /* consecutive number of TaskInterrupt */ + +- char event_rtsp; +- char event_data; ++ std::atomic_char event_rtsp; ++ std::atomic_char event_data; + + bool b_get_param; /* Does the server support GET_PARAMETER */ + bool b_paused; /* Are we paused? */