summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/stepmania-ffmpeg-compat.patch
AgeCommit message (Collapse)Author
2026-01-03gnu: stepmania: Fix compatibility with ffmpeg 8.Liliana Marie Prikler
This is a follow-up to 31919486254117d95c43711595a9de5e0bae134d, which fixed compile-time compatibility with newer ffmpeg, but introduced runtime crashes. * gnu/packages/games.scm (stepmania): Replace ffmpeg-6 with ffmpeg. * gnu/packages/patches/stepmania-ffmpeg-compat.patch: Add hunks for FFMPEG 8 compatibility. Initialize m_pStreamCodec to nullptr and reinitialize it in MovieDecoder_FFMpeg::OpenCodec.
2025-10-06gnu: stepmania: Update to 5.1.0-b2-1.d55acb1.Liliana Marie Prikler
* gnu/packages/patches/stepmania-ffmpeg-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/games.scm (stepmania): Update to 5.1.0-b2-1.d55acb1. [source]<patches>: Add “stepmania-ffmpeg-compat.patch”. <snippet>: Adjust unbundling. [arguments]<#:configure-flags>: Add “-DWITH_SYSTEM_GLEW=1”, “-DWITH_SYSTEM_JSONCPP=1”, “-DWITH_SYSTEM_JPEG=1”, “-DWITH_SYSTEM_MAD=1”, “-DWITH_SYSTEM_OGG=1”, “-DWITH_SYSTEM_PCRE=1”, “-DWITH_SYSTEM_PNG=1”, “-DWITH_SYSTEM_TOMMATH=1”, “-DWITH_SYSTEM_TOMCRYPT=1” and “-DWITH_SYSTEM_ZLIB=1”. <#:phases>: Remove ‘unbundle-libpng’. [inputs]: Drop labels. Sort alphabetically. Replace ffmpeg-for-stepmania with ffmpeg-6. Add libtommath and libtomcrypt. Change-Id: I577fe1c15f906c3c67d1ae71a1e085e3fd05aef2 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>