Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 11/17] assimp: Upgrade to 3.3.1 release
Date: Fri, 30 Jun 2017 05:59:51 -0700	[thread overview]
Message-ID: <20170630125957.3342-11-raj.khem@gmail.com> (raw)
In-Reply-To: <20170630125957.3342-1-raj.khem@gmail.com>

License years changed see
https://github.com/assimp/assimp/commit/189340a99f335cc28cae7c39eaee434322a54548

Fix build on big-endian architectures
Use Assimp namespace to fix build for big-endian architectures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...001-Fix-build-on-big-endian-architectures.patch | 29 ++++++++++++++++++++++
 .../assimp/{assimp_3.1.1.bb => assimp_3.3.1.bb}    | 10 +++++---
 2 files changed, 35 insertions(+), 4 deletions(-)
 create mode 100644 meta-oe/recipes-graphics/assimp/assimp/0001-Fix-build-on-big-endian-architectures.patch
 rename meta-oe/recipes-graphics/assimp/{assimp_3.1.1.bb => assimp_3.3.1.bb} (50%)

diff --git a/meta-oe/recipes-graphics/assimp/assimp/0001-Fix-build-on-big-endian-architectures.patch b/meta-oe/recipes-graphics/assimp/assimp/0001-Fix-build-on-big-endian-architectures.patch
new file mode 100644
index 000000000..c94bb3d58
--- /dev/null
+++ b/meta-oe/recipes-graphics/assimp/assimp/0001-Fix-build-on-big-endian-architectures.patch
@@ -0,0 +1,29 @@
+From 614475dcac1cee4d63b764282c578672bc060321 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 29 Jun 2017 14:23:00 -0700
+Subject: [PATCH] Fix build on big-endian architectures
+
+see
+https://github.com/assimp/assimp/pull/986
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ code/glTFAsset.inl | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/code/glTFAsset.inl b/code/glTFAsset.inl
+index d52c825c..470246c9 100644
+--- a/code/glTFAsset.inl
++++ b/code/glTFAsset.inl
+@@ -40,6 +40,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+ #include "StringUtils.h"
+ 
++using namespace Assimp;
++
+ namespace glTF {
+ 
+ namespace {
+-- 
+2.13.2
+
diff --git a/meta-oe/recipes-graphics/assimp/assimp_3.1.1.bb b/meta-oe/recipes-graphics/assimp/assimp_3.3.1.bb
similarity index 50%
rename from meta-oe/recipes-graphics/assimp/assimp_3.1.1.bb
rename to meta-oe/recipes-graphics/assimp/assimp_3.3.1.bb
index 4da3dc213..064683a65 100644
--- a/meta-oe/recipes-graphics/assimp/assimp_3.1.1.bb
+++ b/meta-oe/recipes-graphics/assimp/assimp_3.3.1.bb
@@ -3,13 +3,15 @@ DESCRIPTION = "Open Asset Import Library is a portable Open Source library to im
 HOMEPAGE = "http://www.assimp.org/"
 SECTION = "devel"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4cd8c0aedc7a0623476669377d7eeda8"
 
 DEPENDS = "boost virtual/libgl"
 
-SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip"
-SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b"
-SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e"
+SRCREV = "a8673d4828df5107186f49e5e4efa5316b727482"
+SRC_URI = "git://github.com/assimp/assimp \
+           file://0001-Fix-build-on-big-endian-architectures.patch \
+           "
+S = "${WORKDIR}/git"
 
 inherit cmake
 
-- 
2.13.2



  parent reply	other threads:[~2017-06-30 13:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30 12:59 [meta-networking][PATCH 01/17] autofs: Add build dependency on libnsl2 Khem Raj
2017-06-30 12:59 ` [meta-multimedia][PATCH 02/17] gst-plugins-gl_0.10.3.bb: Fix build on rpi/userland Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 03/17] librcf: fix mips/mips64 build Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 04/17] freerdp: Fix build on mips Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 05/17] gegl: Upgrade to 0.3.18 Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 06/17] babl: Upgrade to 0.1.28 Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 07/17] gimp: Upgrade to 2.8.22 Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 08/17] fluentbit: Fix parallel build race Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 09/17] dietsplash: Fix build on mips Khem Raj
2017-06-30 12:59 ` [meta-multimedia][PATCH 10/17] libsrtp: " Khem Raj
2017-06-30 12:59 ` Khem Raj [this message]
2017-06-30 12:59 ` [meta-oe][PATCH 12/17] synergy: Update to 1.8.8 release Khem Raj
2017-06-30 12:59 ` [meta-multimedia][PATCH 13/17] kodi: Update to 17.3 Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 14/17] libtorrent: Implement 64bit atomics for mips32 Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 15/17] rtorrent: Add and enable ipv6 packageconfig based on DISTRO_FEATURES Khem Raj
2017-06-30 12:59 ` [meta-oe][PATCH 16/17] uim: Add support for aarch64 Khem Raj
2017-06-30 12:59 ` [meta-networking][PATCH 17/17] openhpi: Fix build on 64bit platforms e.g. aarch64 Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170630125957.3342-11-raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox