Skip to contentSkip to conversation

package/keepalived: fix build with kernel >= 5.13

PATCH In review Fabrice Fontaine 4 participants 4 messages Jul 1, 2021 – Aug 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/keepalived: fix build with kernel >= 5.13

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

---
 .../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
package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch new file +34 -0
new file mode 100644
index 0000000000..39134fcc35
@@ -0,0 +1,34 @@
+From 3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d Mon Sep 17 00:00:00 2001
+From: Quentin Armitage <[email protected]>
+Date: Tue, 8 Jun 2021 08:57:45 +0100
+Subject: [PATCH] core: Fix compiling on RHEL 9
+
+Signed-off-by: Quentin Armitage <[email protected]>
+
+[Retrieved from:
+https://github.com/acassen/keepalived/commit/3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d]
+Signed-off-by: Fabrice Fontaine <[email protected]>
+---
+ 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"
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/keepalived: fix build with kernel >= 5.13

Quoted 40 lines · Fabrice Fontaine

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

---
  .../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

package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch new file +24 -0
new file mode 100644
index 0000000000..39134fcc35
@@ -0,0 +1,34 @@
+From 3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d Mon Sep 17 00:00:00 2001
+From: Quentin Armitage <[email protected]>
+Date: Tue, 8 Jun 2021 08:57:45 +0100
+Subject: [PATCH] core: Fix compiling on RHEL 9
+
+Signed-off-by: Quentin Armitage <[email protected]>
+
+[Retrieved from:
+https://github.com/acassen/keepalived/commit/3fd0c21e4f63ac0a52b5d7a09575f0f364972e4d]
+Signed-off-by: Fabrice Fontaine <[email protected]>
+---
+ 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>

package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch line 34

Quoted 10 lines
package/keepalived/0001-core-Fix-compiling-on-RHEL-9.patch new file +10 -0
+ #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 lore raw

PATCH 1/1 package/keepalived: fix build with kernel >= 5.13

In reply to Fabrice Fontaine
Quoted 8 lines · On Fri, 2 Jul 2021 00:26:38 +0200 Fabrice Fontaine…

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

---
 .../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

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

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

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

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot