mirror of
https://github.com/schnitzeltony/meta-musicians.git
synced 2026-09-12 03:49:32 +02:00
zam-plugins: upgrade 3.10+ -> 3.11
It still fails on master for qemu bitch Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
From be9c101225336c415dd63647c67206ad3d4d7f66 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 5 Jan 2019 19:44:15 +0100
|
||||
Subject: [PATCH] remove useles braces in macros
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
recent complilers don't like them:
|
||||
|
||||
../../dpf/distrho/src/lv2/atom-util.h:334:2: note: in expansion of macro 'LV2_ATOM_OBJECT_FOREACH'
|
||||
LV2_ATOM_OBJECT_FOREACH(object, prop) {
|
||||
^~~~~~~~~~~~~~~~~~~~~~~
|
||||
../../dpf/distrho/src/lv2/atom-util.h: In function 'int lv2_atom_object_body_get(uint32_t, const LV2_Atom_Object_Body*, ...)':
|
||||
../../dpf/distrho/src/lv2/atom-util.h:279:37: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]
|
||||
for (const LV2_Atom_Property_Body* (iter) = lv2_atom_object_begin(body); \
|
||||
^
|
||||
../../dpf/distrho/src/lv2/atom-util.h:367:2: note: in expansion of macro 'LV2_ATOM_OBJECT_BODY_FOREACH'
|
||||
LV2_ATOM_OBJECT_BODY_FOREACH(body, size, prop) {
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
../../dpf/distrho/src/lv2/atom-util.h: In function 'int lv2_atom_object_get(const LV2_Atom_Object*, ...)':
|
||||
../../dpf/distrho/src/lv2/atom-util.h:273:37: warning: unnecessary parentheses in declaration of 'prop' [-Wparentheses]
|
||||
for (const LV2_Atom_Property_Body* (iter) = lv2_atom_object_begin(&(obj)->body); \
|
||||
^
|
||||
|
||||
Sent/applied @ DPF [1]
|
||||
|
||||
[1] https://github.com/DISTRHO/DPF/pull/98
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
dpf/distrho/src/lv2/atom-util.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dpf/distrho/src/lv2/atom-util.h b/dpf/distrho/src/lv2/atom-util.h
|
||||
index c47c0f6..1353687 100644
|
||||
--- a/dpf/distrho/src/lv2/atom-util.h
|
||||
+++ b/dpf/distrho/src/lv2/atom-util.h
|
||||
@@ -270,13 +270,13 @@ lv2_atom_object_next(const LV2_Atom_Property_Body* i)
|
||||
@endcode
|
||||
*/
|
||||
#define LV2_ATOM_OBJECT_FOREACH(obj, iter) \
|
||||
- for (const LV2_Atom_Property_Body* (iter) = lv2_atom_object_begin(&(obj)->body); \
|
||||
+ for (const LV2_Atom_Property_Body* iter = lv2_atom_object_begin(&(obj)->body); \
|
||||
!lv2_atom_object_is_end(&(obj)->body, (obj)->atom.size, (iter)); \
|
||||
(iter) = lv2_atom_object_next(iter))
|
||||
|
||||
/** Like LV2_ATOM_OBJECT_FOREACH but for a headerless object body. */
|
||||
#define LV2_ATOM_OBJECT_BODY_FOREACH(body, size, iter) \
|
||||
- for (const LV2_Atom_Property_Body* (iter) = lv2_atom_object_begin(body); \
|
||||
+ for (const LV2_Atom_Property_Body* iter = lv2_atom_object_begin(body); \
|
||||
!lv2_atom_object_is_end(body, size, (iter)); \
|
||||
(iter) = lv2_atom_object_next(iter))
|
||||
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -22,11 +22,10 @@ REQUIRED_DISTRO_FEATURE = "x11"
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://github.com/zamaudio/${BPN}.git \
|
||||
file://0001-remove-useles-braces-in-macros.patch \
|
||||
"
|
||||
SRCREV = "96ec0c7dbc9c034bc8716309b92fda84bb27cf92"
|
||||
SRCREV = "af338057e42dd5d07cba1889bfc74eda517c6147"
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "3.10+git${SRCPV}"
|
||||
PV = "3.11"
|
||||
|
||||
do_configure_prepend() {
|
||||
rm -f ${WORKDIR}/lv2_ttl_generator-data
|
||||
|
||||
Reference in New Issue
Block a user