Debian Patches

Status for openmha/4.18.0-1

Patch Description Author Forwarded Bugs Origin Last update
0001-gcfsnet-fix-calloc-argument-order-in-denoise-initial.patch gcfsnet: fix calloc argument order in denoise initialisation
Use calloc(nmemb, size) in the GCFSNet plugin denoise initialisation code
instead of the current calloc(size, nmemb) form.

The existing calls happen to allocate the same number of bytes but the
canonical argument order is clearer and avoids build failures with newer
compilers such as GCC 15 which diagnose this pattern more strictly.

Also use sizeof(*ptr) for the allocation size to make the code more
robust against future type changes.
Christopher Obbard <obbardc@debian.org> no 2026-04-13
0002-external_libs-support-using-system-provided-Asio-ins.patch external_libs: support using system-provided Asio instead of vendored copy

Introduce USE_SYSTEM_ASIO and ASIO_INCLUDE_DIR to allow the build to use
the system-installed Asio instead of cloning and using the bundled
network-asio source.

When USE_SYSTEM_ASIO=yes the build verifies the presence of Asio headers
in ASIO_INCLUDE_DIR and installs them into the build include directory.
Otherwise the existing behaviour of fetching the vendored copy is
retained.
Christopher Obbard <obbardc@debian.org> no 2026-04-13
0003-build-allow-overriding-GITCOMMITHASH-to-inject-versi.patch build: allow overriding GITCOMMITHASH to inject version
Change GITCOMMITHASH assignment in magic.mk to use a conditional
assignment allowing it to be overridden via the environment.

This enables injecting a specific version string instead of using
the git commit hash.

If the variable is not overridden, it exhibits the existing behaviour
of using the git commit hash for the version.
Christopher Obbard <obbardc@debian.org> no 2026-04-13
0004-mhatest-disable-git-based-reproducibility-checks.patch mhatest: disable git-based reproducibility checks
Disable reproducibilitytest checks that rely on the git working tree and
embedded git commit hashes. These checks fail in Debian build
environments where the source is not a git checkout and the commit hash
may be overridden or unavailable.
Christopher Obbard <obbardc@debian.org> not-needed 2026-04-13
0005-build-support-linking-libmha-against-system-FFTW.patch build: support linking libmha against system FFTW
Add a USE_SYSTEM_FFTW build option to avoid building the bundled fftw-2.1.5
copy from external_libs.

When USE_SYSTEM_FFTW=yes libmha links against the system-provided -lsfftw
and -lsrfftw libraries instead of the vendored copy.
Christopher Obbard <obbardc@debian.org> no 2026-04-13
0006-build-don-t-build-bundled-libxdf-ax2xdf-plugin.patch build: don't build bundled libxdf & ax2xdf plugin
Stop building the bundled libxdf library. Also since upstream libxdf
doesn't have xdfwriter.h disable building the ac2xdf plugin.

The ac2xdf plugin depends on xdfwriter.h which is not available in the
Debian libxdf development package so the plugin cannot currently be
built in Debian. Since no Debian-built components require libxdf after
disabling ac2xdf also remove the unused bundled libxdf build target
from external_libs/Makefile.
Christopher Obbard <obbardc@debian.org> not-needed 2026-04-13

All known versions for source package 'openmha'

Links