[Bug 292868] audio/rubberband: fix build with libc++ 21
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Feb 2026 19:53:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292868
Bug ID: 292868
Summary: audio/rubberband: fix build with libc++ 21
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: acm@FreeBSD.org
Reporter: dim@FreeBSD.org
Flags: maintainer-feedback?(acm@FreeBSD.org)
Assignee: acm@FreeBSD.org
With libc++ 21 audio/rubberband fails to build, with errors similar to:
In file included from ../src/common/mathmisc.cpp:24:
../src/common/mathmisc.h:58:1: error: unknown type name 'size_t'; did you
mean 'std::size_t'?
58 | size_t roundUp(size_t value); // to nearest power of two
| ^~~~~~
| std::size_t
/usr/include/c++/v1/__cstddef/size_t.h:20:7: note: 'std::size_t' declared
here
20 | using size_t = decltype(sizeof(int));
| ^
This is because mathmisc.h depended on <stddef.h> being transitively
included, which is no longer the case. Add #include <stddef.h> to fix
the problem.
--
You are receiving this mail because:
You are the assignee for the bug.