commit a57559ebf568dfe5f0e447381fd53a5894a5c34e
Author: Jan Palus <[email protected]>
Date:   Fri Nov 4 18:32:05 2022 +0100

    fix qtquick3d build on x32

 x32.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/x32.patch b/x32.patch
index cdbeb99..2cfe250 100644
--- a/x32.patch
+++ b/x32.patch
@@ -9,3 +9,14 @@
      // x86_64 Linux, BSD uses FS
      __asm__("movq %%fs:%c1, %0" : "=r" (tid) : "i" (2 * sizeof(void*)) : );
  #elif defined(Q_PROCESSOR_X86_64) && defined(Q_OS_WIN)
+--- 
qt-everywhere-src-6.4.0/qtquick3d/src/3rdparty/embree/common/sys/platform.h.orig
   2022-09-23 17:56:15.000000000 +0200
++++ 
qt-everywhere-src-6.4.0/qtquick3d/src/3rdparty/embree/common/sys/platform.h     
   2022-11-04 18:30:31.728307534 +0100
+@@ -32,7 +32,7 @@
+ #endif
+ 
+ /* detect 64 bit platform */
+-#if defined(__X86_64__) || defined(__aarch64__)
++#if (defined(__X86_64__) && !defined(__ILP32__)) || defined(__aarch64__)
+ #define __64BIT__
+ #endif
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt6.git/commitdiff/a57559ebf568dfe5f0e447381fd53a5894a5c34e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to