package/mraa: renumber patch
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 4 Oct 2020 11:10:28 +0000 (13:10 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 4 Oct 2020 19:53:41 +0000 (21:53 +0200)
Commit fd5376a39d079cc5aa26d67788a0c32d234f2f96 wrongly named the patch
as 0002-x.patch instead of 0001-x.patch

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch [new file with mode: 0644]
package/mraa/0002-include-Declare-gVERSION-global-as-extern.patch [deleted file]

diff --git a/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch b/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch
new file mode 100644 (file)
index 0000000..b3a1f5a
--- /dev/null
@@ -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
+ }
diff --git a/package/mraa/0002-include-Declare-gVERSION-global-as-extern.patch b/package/mraa/0002-include-Declare-gVERSION-global-as-extern.patch
deleted file mode 100644 (file)
index b3a1f5a..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-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
- }