All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/keepalived: fix build with kernel >= 5.13
@ 2021-07-01 22:26 Fabrice Fontaine
  2021-07-02  6:25 ` Maxim Kochetkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-07-01 22:26 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/9a93d7d76b0a4319c29fbf7b5986bcc78539ae8b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../0001-core-Fix-compiling-on-RHEL-9.patch   | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch

diff --git a/package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch b/package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch
new file mode 100644
index 0000000000..39134fcc35
--- /dev/null
+++ b/package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch
@@ -0,0 +1,34 @@
+From 3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d Mon Sep 17 00:00:00 2001
+From: Quentin Armitage <quentin@armitage.org.uk>
+Date: Tue, 8 Jun 2021 08:57:45 +0100
+Subject: [PATCH] core: Fix compiling on RHEL 9
+
+Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
+
+[Retrieved from:
+https://github.com/acassen/keepalived/commit/3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ keepalived/core/layer4.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/keepalived/core/layer4.c b/keepalived/core/layer4.c
+index d2cc971a3..fdca04913 100644
+--- a/keepalived/core/layer4.c
++++ b/keepalived/core/layer4.c
+@@ -27,13 +27,14 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <netinet/in.h>
++#include <net/if.h>
+ #include <linux/icmp.h>
+ #include <linux/icmpv6.h>
+ #ifdef ERRQUEUE_NEEDS_SYS_TIME
+ #include <sys/time.h>
+ #endif
+ #include <linux/errqueue.h>
+-#include <netinet/in.h>
+ 
+ #include "layer4.h"
+ #include "logger.h"
-- 
2.30.2

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

* [Buildroot] [PATCH 1/1] package/keepalived: fix build with kernel >= 5.13
  2021-07-01 22:26 [Buildroot] [PATCH 1/1] package/keepalived: fix build with kernel >= 5.13 Fabrice Fontaine
@ 2021-07-02  6:25 ` Maxim Kochetkov
  2021-07-17  8:05 ` Thomas Petazzoni
  2021-08-03 15:06 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Maxim Kochetkov @ 2021-07-02  6:25 UTC (permalink / raw)
  To: buildroot

02.07.2021 01:26, Fabrice Fontaine wrote:
> Fixes:
>   - http://autobuild.buildroot.org/results/9a93d7d76b0a4319c29fbf7b5986bcc78539ae8b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>   .../0001-core-Fix-compiling-on-RHEL-9.patch   | 34 +++++++++++++++++++
>   1 file changed, 34 insertions(+)
>   create mode 100644 package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch
> 
> diff --git a/package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch b/package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch
> new file mode 100644
> index 0000000000..39134fcc35
> --- /dev/null
> +++ b/package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch
> @@ -0,0 +1,34 @@
> +From 3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d Mon Sep 17 00:00:00 2001
> +From: Quentin Armitage <quentin@armitage.org.uk>
> +Date: Tue, 8 Jun 2021 08:57:45 +0100
> +Subject: [PATCH] core: Fix compiling on RHEL 9
> +
> +Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
> +
> +[Retrieved from:
> +https://github.com/acassen/keepalived/commit/3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d]
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + keepalived/core/layer4.c | 3 ++-
> + 1 file changed, 2 insertions(+), 1 deletion(-)
> +
> +diff --git a/keepalived/core/layer4.c b/keepalived/core/layer4.c
> +index d2cc971a3..fdca04913 100644
> +--- a/keepalived/core/layer4.c
> ++++ b/keepalived/core/layer4.c
> +@@ -27,13 +27,14 @@
> + #include <errno.h>
> + #include <unistd.h>
> + #include <fcntl.h>
> ++#include <netinet/in.h>
> ++#include <net/if.h>
> + #include <linux/icmp.h>
> + #include <linux/icmpv6.h>
> + #ifdef ERRQUEUE_NEEDS_SYS_TIME
> + #include <sys/time.h>
> + #endif
> + #include <linux/errqueue.h>
> +-#include <netinet/in.h>
> +
> + #include "layer4.h"
> + #include "logger.h"
> 
Tested-by: Maxim Kochetkov <fido_max@inbox.ru>

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

* [Buildroot] [PATCH 1/1] package/keepalived: fix build with kernel >= 5.13
  2021-07-01 22:26 [Buildroot] [PATCH 1/1] package/keepalived: fix build with kernel >= 5.13 Fabrice Fontaine
  2021-07-02  6:25 ` Maxim Kochetkov
@ 2021-07-17  8:05 ` Thomas Petazzoni
  2021-08-03 15:06 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-07-17  8:05 UTC (permalink / raw)
  To: buildroot

On Fri,  2 Jul 2021 00:26:38 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fixes:
>  - http://autobuild.buildroot.org/results/9a93d7d76b0a4319c29fbf7b5986bcc78539ae8b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .../0001-core-Fix-compiling-on-RHEL-9.patch   | 34 +++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 package/keepalived/0001-core-Fix-compiling-on-RHEL-9.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/keepalived: fix build with kernel >= 5.13
  2021-07-01 22:26 [Buildroot] [PATCH 1/1] package/keepalived: fix build with kernel >= 5.13 Fabrice Fontaine
  2021-07-02  6:25 ` Maxim Kochetkov
  2021-07-17  8:05 ` Thomas Petazzoni
@ 2021-08-03 15:06 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2021-08-03 15:06 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Ilias Apalodimas, buildroot

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

 > Fixes:
 >  - http://autobuild.buildroot.org/results/9a93d7d76b0a4319c29fbf7b5986bcc78539ae8b

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

Committed to 2021.02.x and 2021.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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-08-03 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01 22:26 [Buildroot] [PATCH 1/1] package/keepalived: fix build with kernel >= 5.13 Fabrice Fontaine
2021-07-02  6:25 ` Maxim Kochetkov
2021-07-17  8:05 ` Thomas Petazzoni
2021-08-03 15:06 ` 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.