From: Rafael Sadowski Subject: Re: graphics/ffmpeg: update to 8.0.1 To: "Kirill A. Korinsky" Cc: OpenBSD ports Date: Thu, 11 Dec 2025 20:22:53 +0100 On Thu Dec 11, 2025 at 03:06:02AM +0100, Kirill A. Korinsky wrote: > ports@, > > I'd like to update graphics/ffmpeg to 8.0.1 > > It survives bulk build on -current/amd64 as: > > I=12326 B=0 Q=0 T=0 F=0 !=114 > E=lang/v games/zelda3-data games/zelda3-rom > > anyway, I haven't got any amd64 BTI, so, make test on it is welcome. Tested on: cpu0: AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics, 3300.00 MHz, amdgpu0 at pci6 dev 0 function 0 "ATI Hawk Point" rev 0xd0 OK if we're sure BTI is okay. > > Ok? > > Index: graphics/ffmpeg/Makefile > =================================================================== > RCS file: /home/cvs/ports/graphics/ffmpeg/Makefile,v > diff -u -p -r1.253 Makefile > --- graphics/ffmpeg/Makefile 8 Nov 2025 13:07:37 -0000 1.253 > +++ graphics/ffmpeg/Makefile 8 Dec 2025 14:15:28 -0000 > @@ -1,8 +1,7 @@ > COMMENT= audio/video converter and streamer > > # keep it synced with x11/mplayer > -V= 8.0 > -REVISION= 3 > +V= 8.0.1 > DISTNAME= ffmpeg-${V} > CATEGORIES= graphics multimedia > SITES= https://ffmpeg.org/releases/ > @@ -23,13 +22,13 @@ USE_NOBTCFI-amd64= Yes > > EPOCH= 1 > > -SHARED_LIBS= avcodec 27.0 \ > - avdevice 15.0 \ > - avfilter 13.0 \ > - avformat 24.0 \ > - avutil 17.0 \ > - swresample 6.0 \ > - swscale 9.0 > +SHARED_LIBS= avcodec 27.1 \ > + avdevice 15.1 \ > + avfilter 13.1 \ > + avformat 24.1 \ > + avutil 17.1 \ > + swresample 6.1 \ > + swscale 9.1 > > HOMEPAGE= https://ffmpeg.org/ > > @@ -122,7 +121,6 @@ CONFIGURE_ARGS+=--enable-shared \ > --enable-debug \ > --disable-stripping \ > --disable-indev=jack \ > - --disable-outdev=sdl2 \ > --disable-vulkan \ > --enable-fontconfig \ > --enable-frei0r \ > Index: graphics/ffmpeg/distinfo > =================================================================== > RCS file: /home/cvs/ports/graphics/ffmpeg/distinfo,v > diff -u -p -r1.70 distinfo > --- graphics/ffmpeg/distinfo 28 Oct 2025 09:37:14 -0000 1.70 > +++ graphics/ffmpeg/distinfo 8 Dec 2025 13:56:46 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (ffmpeg-8.0.tar.xz) = snUfzLbMTHdwgRPNeLVhBZtvqQSyQWL6C+LWAnPSe44= > -SIZE (ffmpeg-8.0.tar.xz) = 11384428 > +SHA256 (ffmpeg-8.0.1.tar.xz) = Be4LAxGbRcC9tN9lS5aALpCeCnUvcuT+N5T0hyKeWkE= > +SIZE (ffmpeg-8.0.1.tar.xz) = 11388848 > Index: graphics/ffmpeg/patches/patch-libavformat_udp_c > =================================================================== > RCS file: graphics/ffmpeg/patches/patch-libavformat_udp_c > diff -N graphics/ffmpeg/patches/patch-libavformat_udp_c > --- graphics/ffmpeg/patches/patch-libavformat_udp_c 28 Oct 2025 09:37:14 -0000 1.4 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,31 +0,0 @@ > -avformat/udp: fix warning about unused varible > -db0b86a4adf3ffe592ea70e756d615e89138eee0 > - > -Index: libavformat/udp.c > ---- libavformat/udp.c.orig > -+++ libavformat/udp.c > -@@ -280,14 +280,12 @@ static int udp_set_multicast_sources(URLContext *h, > - struct sockaddr_storage *sources, > - int nb_sources, int include) > - { > -- int i; > - if (addr->sa_family != AF_INET) { > - #if HAVE_STRUCT_GROUP_SOURCE_REQ && defined(MCAST_BLOCK_SOURCE) > - /* For IPv4 prefer the old approach, as that alone works reliably on > - * Windows and it also supports supplying the interface based on its > - * address. */ > -- int i; > -- for (i = 0; i < nb_sources; i++) { > -+ for (int i = 0; i < nb_sources; i++) { > - struct group_source_req mreqs; > - int level = addr->sa_family == AF_INET ? IPPROTO_IP : IPPROTO_IPV6; > - > -@@ -314,7 +312,7 @@ static int udp_set_multicast_sources(URLContext *h, > - #endif > - } > - #if HAVE_STRUCT_IP_MREQ_SOURCE && defined(IP_BLOCK_SOURCE) > -- for (i = 0; i < nb_sources; i++) { > -+ for (int i = 0; i < nb_sources; i++) { > - struct ip_mreq_source mreqs; > - if (sources[i].ss_family != AF_INET) { > - av_log(h, AV_LOG_ERROR, "Source/block address %d is of incorrect protocol family\n", i + 1); > Index: x11/mplayer/Makefile > =================================================================== > RCS file: /home/cvs/ports/x11/mplayer/Makefile,v > diff -u -p -r1.337 Makefile > --- x11/mplayer/Makefile 10 Nov 2025 20:31:41 -0000 1.337 > +++ x11/mplayer/Makefile 8 Dec 2025 13:57:14 -0000 > @@ -1,9 +1,9 @@ > COMMENT= movie player supporting many formats > > V= 20240803 > -FFMPEG_V= 8.0 > +FFMPEG_V= 8.0.1 > DISTNAME= mplayer-${V} > -REVISION= 5 > +REVISION= 6 > CATEGORIES= x11 multimedia > SITES= https://comstyle.com/source/ > EXTRACT_SUFX= .tar.xz > > > -- > wbr, Kirill >