All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mraa: fix build with gcc 10
@ 2020-09-07 17:28 Fabrice Fontaine
  2020-09-11 20:27 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-09-07 17:28 UTC (permalink / raw
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/7701c317e300f0b06d258aed2a3bda866e740f48

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...de-Declare-gVERSION-global-as-extern.patch | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/mraa/0002-include-Declare-gVERSION-global-as-extern.patch

diff --git a/package/mraa/0002-include-Declare-gVERSION-global-as-extern.patch b/package/mraa/0002-include-Declare-gVERSION-global-as-extern.patch
new file mode 100644
index 0000000000..b3a1f5a03a
--- /dev/null
+++ b/package/mraa/0002-include-Declare-gVERSION-global-as-extern.patch
@@ -0,0 +1,29 @@
+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: [PATCH] include: Declare gVERSION global as 'extern'.
+
+Fixes build with '-fno-common'.
+
+[Retrieved from:
+https://github.com/eclipse/mraa/pull/1012/commits/dbb5961f106ec42cd70689d933674c9c37aedfe1]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmaail.com>
+---
+ include/version.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/version.h b/include/version.h
+index 47366ef6f..3a567a1d5 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.28.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/mraa: fix build with gcc 10
  2020-09-07 17:28 [Buildroot] [PATCH 1/1] package/mraa: fix build with gcc 10 Fabrice Fontaine
@ 2020-09-11 20:27 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2020-09-11 20:27 UTC (permalink / raw
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fixes:
 >  - http://autobuild.buildroot.org/results/7701c317e300f0b06d258aed2a3bda866e740f48

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2020.08.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-11 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-07 17:28 [Buildroot] [PATCH 1/1] package/mraa: fix build with gcc 10 Fabrice Fontaine
2020-09-11 20:27 ` Peter Korsgaard

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.