All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 3/8] renderdoc: Upgrade to 1.5
Date: Mon, 30 Dec 2019 17:06:48 -0800	[thread overview]
Message-ID: <20191231010652.3206534-3-raj.khem@gmail.com> (raw)
In-Reply-To: <20191231010652.3206534-1-raj.khem@gmail.com>

Backport a patch from glslang to fix a build error
https://github.com/KhronosGroup/glslang/issues/1869

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...-glslang-pool_allocator-setAllocator.patch | 31 +++++++++++++++++++
 .../{renderdoc_1.4.bb => renderdoc_1.5.bb}    |  3 +-
 2 files changed, 33 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch
 rename meta-oe/recipes-graphics/renderdoc/{renderdoc_1.4.bb => renderdoc_1.5.bb} (90%)

diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch b/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch
new file mode 100644
index 0000000000..6ba1e42687
--- /dev/null
+++ b/meta-oe/recipes-graphics/renderdoc/renderdoc/0001-Remove-glslang-pool_allocator-setAllocator.patch
@@ -0,0 +1,31 @@
+From 49dd914109fd1ee9e1e917890bf18f85dd95ff31 Mon Sep 17 00:00:00 2001
+From: Reid Kleckner <rnk@google.com>
+Date: Sun, 29 Dec 2019 23:17:16 -0800
+Subject: [PATCH] Remove glslang::pool_allocator::setAllocator
+
+TPoolAllocator is not copy assignable, so this setter could never have
+been used. After a recent change (878a24ee2), new versions of Clang
+reject this code outright.
+
+Upstream-Status: Backport [https://github.com/KhronosGroup/glslang/commit/0de87ee9a5bf5d094a3faa1a71fd9080e80b6be0]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h b/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h
+index 0e237a6a2..b8eccb883 100644
+--- a/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h
++++ b/renderdoc/3rdparty/glslang/glslang/Include/PoolAlloc.h
+@@ -304,7 +304,6 @@ public:
+     size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); }
+     size_type max_size(int size) const { return static_cast<size_type>(-1) / size; }
+ 
+-    void setAllocator(TPoolAllocator* a) { allocator = *a; }
+     TPoolAllocator& getAllocator() const { return allocator; }
+ 
+ protected:
+-- 
+2.24.1
+
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.5.bb
similarity index 90%
rename from meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
rename to meta-oe/recipes-graphics/renderdoc/renderdoc_1.5.bb
index 784f6fbb8c..5f81e841dc 100644
--- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.4.bb
+++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.5.bb
@@ -4,9 +4,10 @@ HOMEPAGE = "https://github.com/baldurk/renderdoc"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9753b1b4fba3261c27d1ce5c1acef667"
 
-SRCREV = "214d85228538e71cc63a0d7fa11dd75b1d56cc81"
+SRCREV = "a94f238e37cfe2f142093eb8e5da7775abaa88c6"
 SRC_URI = "git://github.com/baldurk/${BPN}.git;protocol=http;branch=v1.x \
 	   file://0001-renderdoc-use-xxd-instead-of-cross-compiling-shim-bi.patch \
+	   file://0001-Remove-glslang-pool_allocator-setAllocator.patch \
 "
 S = "${WORKDIR}/git"
 
-- 
2.24.1



  parent reply	other threads:[~2019-12-31  1:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-31  1:06 [meta-oe][PATCH 1/8] glfw: Update to latest Khem Raj
2019-12-31  1:06 ` [meta-oe][PATCH v3 2/8] fluentbit: Upgrade to 1.3.5 Khem Raj
2019-12-31  1:06 ` Khem Raj [this message]
2019-12-31  1:06 ` [meta-oe][PATCH 4/8] spirv-tools: Upgrade to v2019.5 Khem Raj
2019-12-31  1:06 ` [meta-oe][PATCH 5/8] sanlock: Upgrade to 3.8.0+ Khem Raj
2019-12-31  7:38   ` Adrian Bunk
2019-12-31  7:53     ` Khem Raj
2019-12-31  1:06 ` [meta-oe][PATCH 7/8] upm: Disable -Wno-misleading-indentation with clang10+ Khem Raj
2019-12-31  7:40   ` Adrian Bunk
2019-12-31  7:52     ` Khem Raj
2019-12-31  1:06 ` [meta-oe][PATCH 8/8] libyui: Disable Warnings as errors Khem Raj
2019-12-31  9:24 ` [meta-oe][PATCH 1/8] glfw: Update to latest Adrian Bunk
2019-12-31 19:02   ` 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=20191231010652.3206534-3-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.