* [Buildroot] [PATCH 1/1] package/kismet: fix build on sparc
@ 2021-07-20 20:43 ` Fabrice Fontaine
0 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-07-20 20:43 UTC (permalink / raw)
To: buildroot
Fix the following build failure on sparc which is raised since bump to
version 2021-06-R1 in commit 5e3a1e6c7cc3e42b222ecbe30b9afaaa9d6b1c33
Fixes:
- http://autobuild.buildroot.org/results/38f20816a654894c0625f00b1360c92fdc251e8b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../0001-nrf_51822.h-fix-build-on-sparc.patch | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
diff --git a/package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch b/package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
new file mode 100644
index 0000000000..c675654721
--- /dev/null
+++ b/package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
@@ -0,0 +1,59 @@
+From b347fea1a5ba0f66bf15e7de56d748e0f0dd624a Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Tue, 20 Jul 2021 22:27:45 +0200
+Subject: [PATCH] nrf_51822.h: fix build on sparc
+
+apple is not the only target that miss some defines, for example build
+fails on sparc with:
+
+capture_nrf_51822.c: In function 'get_baud':
+capture_nrf_51822.c:80:16: error: 'B2500000' undeclared (first use in this function); did you mean 'B2000000'?
+ 80 | return B2500000;
+ | ^~~~~~~~
+ | B2000000
+capture_nrf_51822.c:80:16: note: each undeclared identifier is reported only once for each function it appears in
+capture_nrf_51822.c:82:16: error: 'B3000000' undeclared (first use in this function); did you mean 'B2000000'?
+ 82 | return B3000000;
+ | ^~~~~~~~
+ | B2000000
+capture_nrf_51822.c:84:16: error: 'B3500000' undeclared (first use in this function); did you mean 'B500000'?
+ 84 | return B3500000;
+ | ^~~~~~~~
+ | B500000
+capture_nrf_51822.c:86:16: error: 'B4000000' undeclared (first use in this function); did you mean 'B2000000'?
+ 86 | return B4000000;
+ | ^~~~~~~~
+ | B2000000
+
+Fixes:
+ - http://autobuild.buildroot.org/results/38f20816a654894c0625f00b1360c92fdc251e8b
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/kismetwireless/kismet/pull/388]
+---
+ capture_nrf_51822/nrf_51822.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/capture_nrf_51822/nrf_51822.h b/capture_nrf_51822/nrf_51822.h
+index cf7fee1e..d9203f61 100644
+--- a/capture_nrf_51822/nrf_51822.h
++++ b/capture_nrf_51822/nrf_51822.h
+@@ -3,7 +3,6 @@
+ #ifndef __NRF51822_H__
+ #define __NRF51822_H__
+
+-#ifdef __APPLE__
+ #ifndef B9600
+ #define B9600 9600
+ #endif
+@@ -58,7 +57,6 @@
+ #ifndef B4000000
+ #define B4000000 4000000
+ #endif
+-#endif
+
+
+
+--
+2.30.2
+
--
2.30.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/kismet: fix build on sparc
@ 2021-07-20 20:43 ` Fabrice Fontaine
0 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-07-20 20:43 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Fix the following build failure on sparc which is raised since bump to
version 2021-06-R1 in commit 5e3a1e6c7cc3e42b222ecbe30b9afaaa9d6b1c33
Fixes:
- http://autobuild.buildroot.org/results/38f20816a654894c0625f00b1360c92fdc251e8b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../0001-nrf_51822.h-fix-build-on-sparc.patch | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
diff --git a/package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch b/package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
new file mode 100644
index 0000000000..c675654721
--- /dev/null
+++ b/package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
@@ -0,0 +1,59 @@
+From b347fea1a5ba0f66bf15e7de56d748e0f0dd624a Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Tue, 20 Jul 2021 22:27:45 +0200
+Subject: [PATCH] nrf_51822.h: fix build on sparc
+
+apple is not the only target that miss some defines, for example build
+fails on sparc with:
+
+capture_nrf_51822.c: In function 'get_baud':
+capture_nrf_51822.c:80:16: error: 'B2500000' undeclared (first use in this function); did you mean 'B2000000'?
+ 80 | return B2500000;
+ | ^~~~~~~~
+ | B2000000
+capture_nrf_51822.c:80:16: note: each undeclared identifier is reported only once for each function it appears in
+capture_nrf_51822.c:82:16: error: 'B3000000' undeclared (first use in this function); did you mean 'B2000000'?
+ 82 | return B3000000;
+ | ^~~~~~~~
+ | B2000000
+capture_nrf_51822.c:84:16: error: 'B3500000' undeclared (first use in this function); did you mean 'B500000'?
+ 84 | return B3500000;
+ | ^~~~~~~~
+ | B500000
+capture_nrf_51822.c:86:16: error: 'B4000000' undeclared (first use in this function); did you mean 'B2000000'?
+ 86 | return B4000000;
+ | ^~~~~~~~
+ | B2000000
+
+Fixes:
+ - http://autobuild.buildroot.org/results/38f20816a654894c0625f00b1360c92fdc251e8b
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/kismetwireless/kismet/pull/388]
+---
+ capture_nrf_51822/nrf_51822.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/capture_nrf_51822/nrf_51822.h b/capture_nrf_51822/nrf_51822.h
+index cf7fee1e..d9203f61 100644
+--- a/capture_nrf_51822/nrf_51822.h
++++ b/capture_nrf_51822/nrf_51822.h
+@@ -3,7 +3,6 @@
+ #ifndef __NRF51822_H__
+ #define __NRF51822_H__
+
+-#ifdef __APPLE__
+ #ifndef B9600
+ #define B9600 9600
+ #endif
+@@ -58,7 +57,6 @@
+ #ifndef B4000000
+ #define B4000000 4000000
+ #endif
+-#endif
+
+
+
+--
+2.30.2
+
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/kismet: fix build on sparc
@ 2021-07-20 20:47 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-07-20 20:47 UTC (permalink / raw)
To: buildroot
On Tue, 20 Jul 2021 22:43:19 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure on sparc which is raised since bump to
> version 2021-06-R1 in commit 5e3a1e6c7cc3e42b222ecbe30b9afaaa9d6b1c33
>
> Fixes:
> - http://autobuild.buildroot.org/results/38f20816a654894c0625f00b1360c92fdc251e8b
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> .../0001-nrf_51822.h-fix-build-on-sparc.patch | 59 +++++++++++++++++++
> 1 file changed, 59 insertions(+)
> create mode 100644 package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/kismet: fix build on sparc
@ 2021-07-20 20:47 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-07-20 20:47 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
On Tue, 20 Jul 2021 22:43:19 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure on sparc which is raised since bump to
> version 2021-06-R1 in commit 5e3a1e6c7cc3e42b222ecbe30b9afaaa9d6b1c33
>
> Fixes:
> - http://autobuild.buildroot.org/results/38f20816a654894c0625f00b1360c92fdc251e8b
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> .../0001-nrf_51822.h-fix-build-on-sparc.patch | 59 +++++++++++++++++++
> 1 file changed, 59 insertions(+)
> create mode 100644 package/kismet/0001-nrf_51822.h-fix-build-on-sparc.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-20 20:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 20:43 [Buildroot] [PATCH 1/1] package/kismet: fix build on sparc Fabrice Fontaine
2021-07-20 20:43 ` Fabrice Fontaine
2021-07-20 20:47 ` Thomas Petazzoni
2021-07-20 20:47 ` Thomas Petazzoni
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.