Debian Patches

Status for rnnoise/0.2+ds-1

Patch Description Author Forwarded Bugs Origin Last update
fix-compilation-errors.patch Fix compilation errors on non-AVX targets (missing os_support.h, etc.) rnnoise 0.2 fails to compile on any target that does not take the x86 AVX/SSE2
path -- e.g. arm64, which uses the NEON path -- because src/vec.h and
src/vec_neon.h include the non-existent "os_support.h" for the OPUS_CLEAR()
macro (that header lives in libopus; OPUS_CLEAR is defined nowhere in the
rnnoise tree):
.
src/vec_neon.h:35:10: fatal error: os_support.h: No such file or directory
.
This is upstream commit 372f7b4 ("Fix compilation errors.", fixes GitHub #222)
applied verbatim. It is the immediate child of the v0.2 release tag, so it
applies cleanly to the released source. In addition to the os_support.h /
OPUS_CLEAR fix (vec.h, vec_neon.h -> use rnnoise's own RNN_CLEAR), it fixes the
x86 build (vec_avx.h now includes x86/x86cpu.h; x86cpu.h detects SSE2 via
__SSE2__ and includes common.h instead of the Opus-only opus_defines.h) and
hoists OPUS_GNUC_PREREQ into common.h. Taken as a whole so the packaged tree
matches upstream's compilation fix exactly. Drop once a release containing
372f7b4 is packaged.
diff --git a/src/common.h b/src/common.h
index 5005bff..f9095ca 100644
Timothy B. Terriberry <tterribe@xiph.org> yes upstream upstream, https://github.com/xiph/rnnoise/commit/372f7b4b76cde4ca1ec4605353dd17898a99de38 2026-07-04

All known versions for source package 'rnnoise'

Links