{"base_revision":"git-v1:d5c6e9ca50707bcd977d2d3b4ff17603795ba7cf","content":"diff --git a/debian/README.Debian b/debian/README.Debian\nnew file mode 100644\nindex 0000000..0105b2f\n--- /dev/null\n+++ b/debian/README.Debian\n@@ -0,0 +1,7 @@\n+modplugxmms for Debian\n+----------------------\n+\n+Keep in mind that xmms comes with a mikmod-based modplayer plugin\n+which will need to be disabled before this one can be used.\n+\n+ -- Zed Pobre <zed@debian.org>, Thu Jul  3 10:06:39 2003\ndiff --git a/debian/changelog b/debian/changelog\nindex 6000e9a..a3202af 100644\n--- a/debian/changelog\n+++ b/debian/changelog\n@@ -1,20 +1,3 @@\n-libmodplug (1:0.8.9.0-4) unstable; urgency=medium\n-\n-  * Update upstream links to point to\n-    https://github.com/Konstanty/libmodplug; development there appears to\n-    have stalled but it’s where issues and PRs are tracked.\n-    Closes: #1008097.\n-  * Apply candidate patch to fix OOB read. Closes: #1144933;\n-    CVE-2026-75904.\n-  * Apply candidate fix for mLoopCount global setting.\n-  * Drop “Rules-Requires-Root: no” since it’s now the default.\n-  * Drop “Priority: optional” since it’s now the default.\n-  * Standards-Version 4.7.4, no further change needed.\n-  * Bump to debhelper compatibility level 14.\n-  * Delete obsolete xmms-modplug-related files.\n-\n- -- Stephen Kitt <skitt@debian.org>  Fri, 28 Aug 2026 13:57:00 +0200\n-\n libmodplug (1:0.8.9.0-3) unstable; urgency=medium\n \n   [ Debian Janitor ]\ndiff --git a/debian/control b/debian/control\nindex d38d360..3fc47b6 100644\n--- a/debian/control\n+++ b/debian/control\n@@ -1,15 +1,20 @@\n Source: libmodplug\n Maintainer: Stephen Kitt <skitt@debian.org>\n Section: libs\n-Build-Depends: debhelper-compat (= 14)\n-Standards-Version: 4.7.4\n+Priority: optional\n+Build-Depends: debhelper-compat (= 13)\n+Standards-Version: 4.5.1\n Vcs-Browser: https://salsa.debian.org/mod-player-team/libmodplug\n Vcs-Git: https://salsa.debian.org/mod-player-team/libmodplug.git\n-Homepage: https://github.com/Konstanty/libmodplug\n+Homepage: http://modplug-xmms.sourceforge.net/\n+Rules-Requires-Root: no\n \n Package: libmodplug1\n Architecture: any\n Multi-Arch: same\n+Depends: ${misc:Depends},\n+         ${shlibs:Depends}\n+Pre-Depends: ${misc:Pre-Depends}\n Description: shared libraries for mod music based on ModPlug\n  Module files (MOD music, tracker music) are a family of music file\n  formats originating from the MOD file format on Amiga systems used in\n@@ -23,7 +28,8 @@ Package: libmodplug-dev\n Architecture: any\n Multi-Arch: same\n Section: libdevel\n-Depends: libmodplug1 (= ${binary:Version})\n+Depends: libmodplug1 (= ${binary:Version}),\n+         ${misc:Depends}\n Description: development files for mod music based on ModPlug\n  Module files (MOD music, tracker music) are a family of music file\n  formats originating from the MOD file format on Amiga systems used in\ndiff --git a/debian/libmodplug1.docs b/debian/docs\nsimilarity index 100%\nrename from debian/libmodplug1.docs\nrename to debian/docs\ndiff --git a/debian/override.Lintian b/debian/override.Lintian\nnew file mode 100644\nindex 0000000..17a430d\n--- /dev/null\n+++ b/debian/override.Lintian\n@@ -0,0 +1 @@\n+xmms-modplug: no-shlibs-control-file usr/lib/xmms/Input/libmodplug.so\ndiff --git a/debian/patches/0001-Fix-mLoopCount-global-setting.patch b/debian/patches/0001-Fix-mLoopCount-global-setting.patch\ndeleted file mode 100644\nindex 44f6f8d..0000000\n--- a/debian/patches/0001-Fix-mLoopCount-global-setting.patch\n+++ /dev/null\n@@ -1,46 +0,0 @@\n-From 79c7ed503939a348cb47b1540fa6f8bfba8e366c Mon Sep 17 00:00:00 2001\n-From: AliceLR <petrifiedrowan@gmail.com>\n-Date: Mon, 5 Jan 2026 19:53:05 -0700\n-Subject: [PATCH] Fix mLoopCount global setting.\n-\n-The module repeat count is supposed to be configured via mLoopCount\n-in the Modplug global settings. Setting this to a negative value\n-is supposed to enable looping forever (what game engines are most\n-likely to expect), but for some reason, this feature was *deliberately\n-broken* despite the default being 0. There's no reason for this to\n-be commented out.\n-\n-Fixes #51.\n-\n-See also:\n-https://github.com/icculus/SDL_sound/issues/123\n-https://github.com/AliceLR/megazeux/blob/f83d897dc7df808ed4ad3eb31b5abb6a7b479d08/contrib/patches/libmodplug/01-libmodplug-0.8.9.0-fix-looping.diff\n----\n- src/sndmix.cpp | 4 ++--\n- 1 file changed, 2 insertions(+), 2 deletions(-)\n-\n-diff --git a/src/sndmix.cpp b/src/sndmix.cpp\n-index 2f8377c..5285fbc 100644\n---- a/src/sndmix.cpp\n-+++ b/src/sndmix.cpp\n-@@ -363,7 +363,7 @@ BOOL CSoundFile::ProcessRow()\n- \t\t\t\t// End of song ?\n- \t\t\t\tif ((m_nPattern == 0xFF) || (m_nCurrentPattern >= MAX_ORDERS))\n- \t\t\t\t{\n--\t\t\t\t\t//if (!m_nRepeatCount)\n-+\t\t\t\t\tif (!m_nRepeatCount)\n- \t\t\t\t\t\treturn FALSE;     //never repeat entire song\n- \t\t\t\t\tif (!m_nRestartPos)\n- \t\t\t\t\t{\n-@@ -396,7 +396,7 @@ BOOL CSoundFile::ProcessRow()\n- \t\t\t\t\t\t\t}\n- \t\t\t\t\t\t}\n- \t\t\t\t\t}\n--//\t\t\t\t\tif (m_nRepeatCount > 0) m_nRepeatCount--;\n-+\t\t\t\t\tif (m_nRepeatCount > 0) m_nRepeatCount--;\n- \t\t\t\t\tm_nCurrentPattern = m_nRestartPos;\n- \t\t\t\t\tm_nRow = 0;\n- \t\t\t\t\tif ((Order[m_nCurrentPattern] >= MAX_PATTERNS) || (!Patterns[Order[m_nCurrentPattern]])) return FALSE;\n--- \n-2.47.3\n-\ndiff --git a/debian/patches/cve-2026-75904.patch b/debian/patches/cve-2026-75904.patch\ndeleted file mode 100644\nindex 15d37b9..0000000\n--- a/debian/patches/cve-2026-75904.patch\n+++ /dev/null\n@@ -1,17 +0,0 @@\n-Description: Fix out-of-bounds read in pat_smplooped\n-Author: Përparim Mjeku\n-Origin: https://github.com/Konstanty/libmodplug/issues/103\n-Bug-Debian: https://bugs.debian.org/1144933\n-Forwarded: not-needed\n-\n---- a/src/load_pat.cpp\n-+++ b/src/load_pat.cpp\n-@@ -208,7 +208,7 @@\n- \n- int pat_smplooped(int smp)\n- {\n--\tif( smp < MAXSMP ) return pat_loops[smp - 1];\n-+\tif( smp > 0 && smp < MAXSMP ) return pat_loops[smp - 1];\n- \treturn 1;\n- }\n- \ndiff --git a/debian/patches/series b/debian/patches/series\ndeleted file mode 100644\nindex cfec9af..0000000\n--- a/debian/patches/series\n+++ /dev/null\n@@ -1,2 +0,0 @@\n-cve-2026-75904.patch\n-0001-Fix-mLoopCount-global-setting.patch\ndiff --git a/debian/watch b/debian/watch\nindex 2ce002f..b26bc7b 100644\n--- a/debian/watch\n+++ b/debian/watch\n@@ -1,4 +1,2 @@\n-Version: 5\n-\n-Template: Github\n-Dist: https://github.com/Konstanty/libmodplug\n+version=4\n+http://sf.net/modplug-xmms/ libmodplug(?:[_\\-]v?|)(\\d[^\\s/]*)\\.(?:tar\\.xz|txz|tar\\.bz2|tbz2|tar\\.gz|tgz) debian uupdate\n","content_type":"text/plain","diff_type":"vcs","new_revision":"git-v1:1ba93dfdfb8cd46e29ffd32aa93dce3eb9c23b2f"}