All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/iperf: fix build
@ 2021-12-12 19:10 Fabrice Fontaine
  2021-12-17 21:54 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-12 19:10 UTC (permalink / raw)
  To: buildroot; +Cc: Matt Weber, Fabrice Fontaine

Fix the following build failure raised since bump to version 2.1.5 in
commit ca39eb212e32ca209cb3d6011847f9c94641fa73:

gettcpinfo.c: In function 'gettcpinfo':
gettcpinfo.c:101:42: error: expected declaration or statement at end of input
  101 | inline void gettcpinfo (int sock, struct ReportStruct *sample) {
      |                                          ^~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/073e070478f0cda34784af96bb3a802c3aac8f72

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../0002-compat-gettcpinfo.c-fix-build.patch  | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/iperf/0002-compat-gettcpinfo.c-fix-build.patch

diff --git a/package/iperf/0002-compat-gettcpinfo.c-fix-build.patch b/package/iperf/0002-compat-gettcpinfo.c-fix-build.patch
new file mode 100644
index 0000000000..786c7d1873
--- /dev/null
+++ b/package/iperf/0002-compat-gettcpinfo.c-fix-build.patch
@@ -0,0 +1,34 @@
+From a3339604bafa99f66e12687efc2c50d2e2df1276 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 12 Dec 2021 20:03:04 +0100
+Subject: [PATCH] compat/gettcpinfo.c: fix build
+
+Fix the following build failure raised since commit
+c8f861a0a07b0606a581f2658c71959ad9417923:
+
+gettcpinfo.c: In function 'gettcpinfo':
+gettcpinfo.c:101:42: error: expected declaration or statement at end of input
+  101 | inline void gettcpinfo (int sock, struct ReportStruct *sample) {
+      |                                          ^~~~~~~~~~~~
+
+Fixes:
+ - http://autobuild.buildroot.org/results/073e070478f0cda34784af96bb3a802c3aac8f72
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ compat/gettcpinfo.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/compat/gettcpinfo.c b/compat/gettcpinfo.c
+index 4e11e2a..1d3791a 100644
+--- a/compat/gettcpinfo.c
++++ b/compat/gettcpinfo.c
+@@ -99,4 +99,5 @@ inline void gettcpinfo (SOCKET sock, struct ReportStruct *sample) {
+ };
+ #else
+ inline void gettcpinfo (int sock, struct ReportStruct *sample) {
++};
+ #endif
+-- 
+2.33.0
+
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/iperf: fix build
  2021-12-12 19:10 [Buildroot] [PATCH 1/1] package/iperf: fix build Fabrice Fontaine
@ 2021-12-17 21:54 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-12-17 21:54 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Matt Weber, buildroot

On Sun, 12 Dec 2021 20:10:57 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure raised since bump to version 2.1.5 in
> commit ca39eb212e32ca209cb3d6011847f9c94641fa73:
> 
> gettcpinfo.c: In function 'gettcpinfo':
> gettcpinfo.c:101:42: error: expected declaration or statement at end of input
>   101 | inline void gettcpinfo (int sock, struct ReportStruct *sample) {
>       |                                          ^~~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/073e070478f0cda34784af96bb3a802c3aac8f72
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .../0002-compat-gettcpinfo.c-fix-build.patch  | 34 +++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 package/iperf/0002-compat-gettcpinfo.c-fix-build.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-12-17 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-12 19:10 [Buildroot] [PATCH 1/1] package/iperf: fix build Fabrice Fontaine
2021-12-17 21:54 ` 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.