Wednesday, August 12, 2026

emulators/retroarch: compatibility with ffmpeg 9.0

ports@, I'd like to backport a fix for emulators/retroarch which fixes compatibility with ffmpeg-9.0 Build tested against ffmpeg-9.0 and ffmpeg-8.1.2 The fix in upstream: https://github.com/libretro/RetroArch/commit/f5b422d5a81f0b4d263e2f52c8419ea9ce7467f6 Ok? Index: Makefile =================================================================== RCS file: /home/cvs/ports/emulators/retroarch/Makefile,v diff -u -p -r1.34 Makefile --- Makefile 18 Feb 2026 18:32:50 -0000 1.34 +++ Makefile 12 Aug 2026 17:03:59 -0000 @@ -4,7 +4,7 @@ DISTNAME = retroarch-sourceonly-$V PKGNAME = retroarch-$V V = 1.21.0 -REVISION = 0 +REVISION = 1 # crashes when recording videos due to ffmpeg USE_NOBTCFI-amd64 = Yes Index: patches/patch-camera_drivers_ffmpeg_c =================================================================== RCS file: patches/patch-camera_drivers_ffmpeg_c diff -N patches/patch-camera_drivers_ffmpeg_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-camera_drivers_ffmpeg_c 12 Aug 2026 17:07:36 -0000 @@ -0,0 +1,34 @@ +https://github.com/libretro/RetroArch/commit/f5b422d5a81f0b4d263e2f52c8419ea9ce7467f6 + +Index: camera/drivers/ffmpeg.c +--- camera/drivers/ffmpeg.c.orig ++++ camera/drivers/ffmpeg.c +@@ -42,13 +42,26 @@ + #define FFMPEG_CAMERA_DEFAULT_BACKEND "bktr" +

No comments:

Post a Comment