diff mbox series

[meta-oe,22/42] libmodplug: upgrade 0.8.9.0 -> 0.8.9.2

Message ID 20261123052953.3658549-50-khem.raj@oss.qualcomm.com
State New
Headers show
Series exfatprogs upgrade, remove logfsprogs | expand

Commit Message

Khem Raj Nov. 23, 2026, 5:29 a.m. UTC
Security hardening release: adds bounds and overflow checks to
many module loaders (ABC, AMS, DBM, DMF, DSM, FAR, IT, MDL, MED, MMCMP,
PAT, UMX) and the MOD/XM save functions. This fixes several
out-of-bounds reads and writes and a memory leak in the IT loader.
CMake build support is also included.

Drop the register keyword patch; upstream guards the keyword for C++17
now.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...-Drop-register-storage-class-keyword.patch | 38 -------------------
 ...dplug_0.8.9.0.bb => libmodplug_0.8.9.2.bb} |  5 +--
 2 files changed, 2 insertions(+), 41 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libmodplug/libmodplug/0001-fastmix-Drop-register-storage-class-keyword.patch
 rename meta-oe/recipes-multimedia/libmodplug/{libmodplug_0.8.9.0.bb => libmodplug_0.8.9.2.bb} (81%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-multimedia/libmodplug/libmodplug/0001-fastmix-Drop-register-storage-class-keyword.patch b/meta-oe/recipes-multimedia/libmodplug/libmodplug/0001-fastmix-Drop-register-storage-class-keyword.patch
deleted file mode 100644
index dfdaf810d8..0000000000
--- a/meta-oe/recipes-multimedia/libmodplug/libmodplug/0001-fastmix-Drop-register-storage-class-keyword.patch
+++ /dev/null
@@ -1,38 +0,0 @@ 
-From 7a25d5def379db387de9237f0b03605b3ae277b6 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 17 Jan 2023 11:32:59 -0800
-Subject: [PATCH] fastmix: Drop 'register' storage class keyword
-
-It has been dropped from laters C/C++ standards ( c++17 and newer )
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/fastmix.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/fastmix.cpp b/src/fastmix.cpp
-index d693d20..aa51c4a 100644
---- a/src/fastmix.cpp
-+++ b/src/fastmix.cpp
-@@ -288,7 +288,7 @@ CzWINDOWEDFIR sfir;
- // MIXING MACROS
- // ----------------------------------------------------------------------------
- #define SNDMIX_BEGINSAMPLELOOP8\
--	register MODCHANNEL * const pChn = pChannel;\
-+	MODCHANNEL * const pChn = pChannel;\
- 	nPos = pChn->nPosLo;\
- 	const signed char *p = (signed char *)(pChn->pCurrentSample+pChn->nPos);\
- 	if (pChn->dwFlags & CHN_STEREO) p += pChn->nPos;\
-@@ -296,7 +296,7 @@ CzWINDOWEDFIR sfir;
- 	do {
- 
- #define SNDMIX_BEGINSAMPLELOOP16\
--	register MODCHANNEL * const pChn = pChannel;\
-+	MODCHANNEL * const pChn = pChannel;\
- 	nPos = pChn->nPosLo;\
- 	const signed short *p = (signed short *)(pChn->pCurrentSample+(pChn->nPos*2));\
- 	if (pChn->dwFlags & CHN_STEREO) p += pChn->nPos;\
--- 
-2.39.0
-
diff --git a/meta-oe/recipes-multimedia/libmodplug/libmodplug_0.8.9.0.bb b/meta-oe/recipes-multimedia/libmodplug/libmodplug_0.8.9.2.bb
similarity index 81%
rename from meta-oe/recipes-multimedia/libmodplug/libmodplug_0.8.9.0.bb
rename to meta-oe/recipes-multimedia/libmodplug/libmodplug_0.8.9.2.bb
index 13622407a5..0e46825842 100644
--- a/meta-oe/recipes-multimedia/libmodplug/libmodplug_0.8.9.0.bb
+++ b/meta-oe/recipes-multimedia/libmodplug/libmodplug_0.8.9.2.bb
@@ -4,10 +4,9 @@  HOMEPAGE = "http://modplug-xmms.sf.net"
 LICENSE = "LicenseRef-PD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c9182faa1f7c316f7b97d404bcbe3685"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/modplug-xmms/libmodplug-${PV}.tar.gz \
-           file://0001-fastmix-Drop-register-storage-class-keyword.patch"
+SRC_URI = "${SOURCEFORGE_MIRROR}/modplug-xmms/libmodplug-${PV}.tar.gz"
 
-SRC_URI[sha256sum] = "457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de"
+SRC_URI[sha256sum] = "e4d9cb46da78a639d6eadb4ff3ab955f68c3099579b5310af64b37091e28957e"
 UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/modplug-xmms/files/libmodplug/"
 UPSTREAM_CHECK_REGEX = "libmodplug-(?P<pver>\d+(\.\d+)+)\.tar"