dev-qt/qtquick3d: fix build with x32 abi

Have not tested myself, but this is harmless.

Closes: https://bugs.gentoo.org/926094
Thanks-to: Andrii Batyiev
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-03-04 09:19:44 -05:00
parent f3796a1139
commit 2b0f2b8e18
5 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
https://bugs.gentoo.org/926094
https://bugreports.qt.io/browse/QTBUG-122955
https://bugs.gentoo.org/926093
https://github.com/embree/embree/issues/477
--- a/src/3rdparty/embree/common/sys/platform.h
+++ b/src/3rdparty/embree/common/sys/platform.h
@@ -34,3 +34,3 @@
/* detect 64 bit platform */
-#if defined(__X86_64__) || defined(__aarch64__)
+#if (defined(__X86_64__) || defined(__aarch64__)) && ! defined(__ILP32__)
#define __64BIT__

View File

@@ -31,6 +31,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
)
CMAKE_SKIP_TESTS=(

View File

@@ -31,6 +31,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
)
CMAKE_SKIP_TESTS=(

View File

@@ -31,6 +31,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
)
CMAKE_SKIP_TESTS=(

View File

@@ -31,6 +31,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.6.2-gcc14.patch
"${FILESDIR}"/${PN}-6.6.2-x32abi.patch
)
CMAKE_SKIP_TESTS=(