From: "akuster" <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Adrian Bunk <bunk@stusta.de>, Khem Raj <raj.khem@gmail.com>
Subject: [dunfell][PATCH 01/18] mraa: Replace -fcommon with fix
Date: Tue, 19 May 2020 07:43:15 -0700 [thread overview]
Message-ID: <20200519144332.12822-1-akuster808@gmail.com> (raw)
From: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 30b34a83d47239be0390bdaeefc5b3669fd74472)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
...de-Declare-gVERSION-global-as-extern.patch | 31 +++++++++++++++++++
meta-oe/recipes-extended/mraa/mraa_git.bb | 3 +-
2 files changed, 32 insertions(+), 2 deletions(-)
create mode 100644 meta-oe/recipes-extended/mraa/mraa/0001-include-Declare-gVERSION-global-as-extern.patch
diff --git a/meta-oe/recipes-extended/mraa/mraa/0001-include-Declare-gVERSION-global-as-extern.patch b/meta-oe/recipes-extended/mraa/mraa/0001-include-Declare-gVERSION-global-as-extern.patch
new file mode 100644
index 0000000000..d1152ed641
--- /dev/null
+++ b/meta-oe/recipes-extended/mraa/mraa/0001-include-Declare-gVERSION-global-as-extern.patch
@@ -0,0 +1,31 @@
+From dbb5961f106ec42cd70689d933674c9c37aedfe1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
+Date: Mon, 13 Apr 2020 20:12:11 +0200
+Subject: include: Declare gVERSION global as 'extern'.
+
+Fixes build with '-fno-common'.
+
+Upstream-Status: Submitted [https://github.com/eclipse/mraa/pull/1012]
+Signed-off-by: Adrian Bunk <bunk@stusta.de>
+---
+ include/version.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/version.h b/include/version.h
+index 47366ef..3a567a1 100644
+--- a/include/version.h
++++ b/include/version.h
+@@ -11,8 +11,8 @@
+ extern "C" {
+ #endif
+
+-const char* gVERSION;
+-const char* gVERSION_SHORT;
++extern const char* gVERSION;
++extern const char* gVERSION_SHORT;
+
+ #ifdef __cplusplus
+ }
+--
+2.17.1
+
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb
index 403d641ee9..7c2441632e 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -10,6 +10,7 @@ PV = "2.1.0+git${SRCPV}"
SRC_URI = "git://github.com/eclipse/${BPN}.git;protocol=http \
file://0001-cmake-Use-a-regular-expression-to-match-x86-architec.patch \
+ file://0001-include-Declare-gVERSION-global-as-extern.patch \
"
S = "${WORKDIR}/git"
@@ -27,8 +28,6 @@ EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=
-DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \
"
-CFLAGS += "-fcommon"
-
# Prepend mraa-utils to make sure bindir ends up in there
PACKAGES =+ "${PN}-utils"
--
2.17.1
next reply other threads:[~2020-05-19 14:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 14:43 akuster [this message]
2020-05-19 14:43 ` [dunfell][PATCH 02/18] v4l-utils: upgrade 1.18.0 -> 1.18.1 akuster
2020-05-19 14:43 ` [dunfell][PATCH 03/18] cpprest: upgrade 2.10.15 -> 2.10.16 akuster
2020-05-19 14:43 ` [dunfell][PATCH 04/18] python3-pyrsistent: add python3-numbers to RDEPENDS akuster
2020-05-19 14:43 ` [dunfell][PATCH 05/18] python3-pytoml: add datetime and stringold " akuster
2020-05-19 14:43 ` [dunfell][PATCH 06/18] python3-dbusmock: re-add recipe and fix patch path akuster
2020-05-19 14:43 ` [dunfell][PATCH 07/18] python3-pyyaml: add python3-netclient to RDEPENDS akuster
2020-05-19 14:43 ` [dunfell][PATCH 08/18] python3-werkzeug: add python3-logging " akuster
2020-05-19 14:43 ` [dunfell][PATCH 09/18] multipath-tools: upgrade 0.8.3 -> 0.8.4 akuster
2020-05-19 14:43 ` [dunfell][PATCH 10/18] cpprest: Disable one more test requiring internet connection akuster
2020-05-19 14:43 ` [dunfell][PATCH 11/18] gnome-themes-extra: correct the recipe name akuster
2020-05-19 18:00 ` [oe] " Adrian Bunk
2020-05-19 14:43 ` [dunfell][PATCH 12/18] gtkwave: Disable mime update during install akuster
2020-05-19 14:43 ` [dunfell][PATCH 13/18] modemmanager: upgrade 1.12.8 -> 1.12.10 akuster
2020-05-19 14:43 ` [dunfell][PATCH 14/18] python3-pyroute2: upgrade 0.5.11 -> 0.5.12 akuster
2020-05-19 14:43 ` [dunfell][PATCH 15/18] apache2: fix service start fail akuster
2020-05-19 14:43 ` [dunfell][PATCH 16/18] appstream-glib: update 0.7.16 -> 0.7.17 akuster
2020-05-19 14:43 ` [dunfell][PATCH 17/18] libldb: upgrade 1.5.6 -> 1.5.7 akuster
2020-05-19 14:43 ` [dunfell][PATCH 18/18] samba: upgrade 4.10.13 -> 4.10.15 akuster
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=20200519144332.12822-1-akuster808@gmail.com \
--to=akuster808@gmail.com \
--cc=bunk@stusta.de \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/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