dev-qt/qtquick3d: add missing stdlib.h

xatlas upstream seems dead? Just a quick fix for now.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-09-01 20:15:50 -04:00
parent 6a007789e5
commit d134431d77
5 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
xatlas.cpp:166:32: error: use of undeclared identifier 'realloc'
(happened on llvm-musl with libcxx-23, but haven't narrowed down the cause)
--- a/src/3rdparty/xatlas/xatlas.cpp
+++ b/src/3rdparty/xatlas/xatlas.cpp
@@ -52,2 +52,3 @@
#include <stdint.h>
+#include <stdlib.h>
#include <stdio.h>

View File

@@ -42,6 +42,7 @@ CMAKE_SKIP_TESTS=(
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
"${FILESDIR}"/${PN}-6.11.2-stdlib.patch
)
src_configure() {

View File

@@ -42,6 +42,7 @@ CMAKE_SKIP_TESTS=(
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
"${FILESDIR}"/${PN}-6.11.2-stdlib.patch
)
src_configure() {

View File

@@ -42,6 +42,7 @@ CMAKE_SKIP_TESTS=(
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
"${FILESDIR}"/${PN}-6.11.2-stdlib.patch
)
src_configure() {

View File

@@ -42,6 +42,7 @@ CMAKE_SKIP_TESTS=(
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
"${FILESDIR}"/${PN}-6.11.2-stdlib.patch
)
src_configure() {