mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
8
dev-qt/qtquick3d/files/qtquick3d-6.11.2-stdlib.patch
Normal file
8
dev-qt/qtquick3d/files/qtquick3d-6.11.2-stdlib.patch
Normal 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>
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user