* [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch
@ 2020-09-05 12:17 Fabrice Fontaine
2020-09-05 12:17 ` [Buildroot] [PATCH 2/2] package/lcdproc: fix build with gcc 10 Fabrice Fontaine
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2020-09-05 12:17 UTC (permalink / raw)
To: buildroot
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...ing-ioctl-header.patch => 0002-Add-missing-ioctl-header.patch} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename package/lcdproc/{0001-Add-missing-ioctl-header.patch => 0002-Add-missing-ioctl-header.patch} (100%)
diff --git a/package/lcdproc/0001-Add-missing-ioctl-header.patch b/package/lcdproc/0002-Add-missing-ioctl-header.patch
similarity index 100%
rename from package/lcdproc/0001-Add-missing-ioctl-header.patch
rename to package/lcdproc/0002-Add-missing-ioctl-header.patch
--
2.28.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/lcdproc: fix build with gcc 10
2020-09-05 12:17 [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch Fabrice Fontaine
@ 2020-09-05 12:17 ` Fabrice Fontaine
2020-09-09 20:36 ` Peter Korsgaard
2020-09-05 21:16 ` [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch Yann E. MORIN
2020-09-09 20:36 ` Peter Korsgaard
2 siblings, 1 reply; 5+ messages in thread
From: Fabrice Fontaine @ 2020-09-05 12:17 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/67367f43cf8b2cc74e9a4f51f9d685ef058d5745
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../0003-Fixcompilation-with-GCC-10-x.patch | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch
diff --git a/package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch b/package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch
new file mode 100644
index 0000000000..c8a3dc20a3
--- /dev/null
+++ b/package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch
@@ -0,0 +1,46 @@
+From 084126b03f29b33ab3e657c66e8c6a439f27f8e1 Mon Sep 17 00:00:00 2001
+From: Harald Geyer <harald@ccbib.org>
+Date: Mon, 10 Feb 2020 13:15:10 +0100
+Subject: [PATCH] Fix compilation with GCC >= 10.x
+
+Starting with GCC >= 10.x, -fno-common is used as default
+instead of -fcommon. This patch fixes the compilation.
+
+Closes: #148
+
+Suggested-by: Conrad Kostecki <conrad@kostecki.com>
+Signed-off-by: Harald Geyer <harald@ccbib.org>
+
+[Retrieved from:
+https://github.com/lcdproc/lcdproc/commit/084126b03f29b33ab3e657c66e8c6a439f27f8e1]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ clients/lcdproc/iface.c | 1 +
+ clients/lcdproc/iface.h | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/clients/lcdproc/iface.c b/clients/lcdproc/iface.c
+index 40e50cb7..1ac355bd 100644
+--- a/clients/lcdproc/iface.c
++++ b/clients/lcdproc/iface.c
+@@ -32,6 +32,7 @@
+ #define UNSET_INT -1
+ #define UNSET_STR "\01"
+
++IfaceInfo iface[MAX_INTERFACES];
+
+ static int iface_count = 0; /* number of interfaces */
+ static char unit_label[10] = "B"; /* default unit label is Bytes */
+diff --git a/clients/lcdproc/iface.h b/clients/lcdproc/iface.h
+index cc6dbaaf..c1bd6b5b 100644
+--- a/clients/lcdproc/iface.h
++++ b/clients/lcdproc/iface.h
+@@ -18,7 +18,7 @@
+ /** max number of interfaces in multi-interface mode */
+ #define MAX_INTERFACES 3
+
+-IfaceInfo iface[MAX_INTERFACES]; /* interface info */
++extern IfaceInfo iface[MAX_INTERFACES]; /* interface info */
+
+ /** Update screen content */
+ int iface_screen(int rep, int display, int *flags_ptr);
--
2.28.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch
2020-09-05 12:17 [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch Fabrice Fontaine
2020-09-05 12:17 ` [Buildroot] [PATCH 2/2] package/lcdproc: fix build with gcc 10 Fabrice Fontaine
@ 2020-09-05 21:16 ` Yann E. MORIN
2020-09-09 20:36 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2020-09-05 21:16 UTC (permalink / raw)
To: buildroot
Fabrice, All,
On 2020-09-05 14:17 +0200, Fabrice Fontaine spake thusly:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Both patches applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> ...ing-ioctl-header.patch => 0002-Add-missing-ioctl-header.patch} | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> rename package/lcdproc/{0001-Add-missing-ioctl-header.patch => 0002-Add-missing-ioctl-header.patch} (100%)
>
> diff --git a/package/lcdproc/0001-Add-missing-ioctl-header.patch b/package/lcdproc/0002-Add-missing-ioctl-header.patch
> similarity index 100%
> rename from package/lcdproc/0001-Add-missing-ioctl-header.patch
> rename to package/lcdproc/0002-Add-missing-ioctl-header.patch
> --
> 2.28.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch
2020-09-05 12:17 [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch Fabrice Fontaine
2020-09-05 12:17 ` [Buildroot] [PATCH 2/2] package/lcdproc: fix build with gcc 10 Fabrice Fontaine
2020-09-05 21:16 ` [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch Yann E. MORIN
@ 2020-09-09 20:36 ` Peter Korsgaard
2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2020-09-09 20:36 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2020.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/lcdproc: fix build with gcc 10
2020-09-05 12:17 ` [Buildroot] [PATCH 2/2] package/lcdproc: fix build with gcc 10 Fabrice Fontaine
@ 2020-09-09 20:36 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2020-09-09 20:36 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fixes:
> - http://autobuild.buildroot.org/results/67367f43cf8b2cc74e9a4f51f9d685ef058d5745
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2020.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-09-09 20:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-05 12:17 [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch Fabrice Fontaine
2020-09-05 12:17 ` [Buildroot] [PATCH 2/2] package/lcdproc: fix build with gcc 10 Fabrice Fontaine
2020-09-09 20:36 ` Peter Korsgaard
2020-09-05 21:16 ` [Buildroot] [PATCH 1/2] package/lcdproc: renumber patch Yann E. MORIN
2020-09-09 20:36 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox