SHA256
1
0
forked from pool/libqt5-qt3d
libqt5-qt3d/use-Assimp-namespace-to-fix-build-for-big-endian.patch

24 lines
761 B
Diff
Raw Normal View History

From 50a2e80e96caf458b7a70d4dcc1003ab0441b6c2 Mon Sep 17 00:00:00 2001
From: Daniel Knezevic <danielknezevic90@gmail.com>
Date: Thu, 18 Aug 2016 10:51:20 +0200
Subject: [PATCH] Use Assimp namespace to fix build for big-endian
architectures
---
src/3rdparty/assimp/code/glTFAsset.inl | 2 ++
1 file changed, 2 insertions(+)
Index: qt3d-everywhere-src-5.11.0/src/3rdparty/assimp/code/glTFAsset.inl
===================================================================
--- qt3d-everywhere-src-5.11.0.orig/src/3rdparty/assimp/code/glTFAsset.inl
+++ qt3d-everywhere-src-5.11.0/src/3rdparty/assimp/code/glTFAsset.inl
@@ -52,6 +52,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
using namespace Assimp;
+using namespace Assimp;
+
namespace glTF {
namespace {