nbis: fix build on musl

Drop re-definition of stderr. There's no need for this anywhere
(including glibc). This breaks in particular on musl because
stderr (and stdin) are both const, and macros unlike in glibc.

Bug: https://bugs.gentoo.org/853811
This commit is contained in:
Sam James
2022-06-23 05:57:46 +01:00
parent 08da0eb1e1
commit 61f0f86904
3 changed files with 34 additions and 2 deletions

View File

@@ -198,3 +198,6 @@ patch -p0 < fix-scan-build-reports.patch
# Add pass to remove perimeter points
patch -p0 < remove-perimeter-pts.patch
# Fix build on musl by dropping unnecessary redeclaration of stderr
patch -p0 < fix-musl-build.patch