From 5e68a5b88bdd4e9f35f10e33054019e03241120e Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Mon, 5 Feb 2018 08:59:20 +0000 Subject: [PATCH] systemd: fix build with kernel 3.10 --- ...temd-0101-fix-build-with-kernel-3.10.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 packages/sysutils/systemd/patches/systemd-0101-fix-build-with-kernel-3.10.patch diff --git a/packages/sysutils/systemd/patches/systemd-0101-fix-build-with-kernel-3.10.patch b/packages/sysutils/systemd/patches/systemd-0101-fix-build-with-kernel-3.10.patch new file mode 100644 index 0000000000..2fdf03c211 --- /dev/null +++ b/packages/sysutils/systemd/patches/systemd-0101-fix-build-with-kernel-3.10.patch @@ -0,0 +1,27 @@ +From e52504dca98923302ecbdd018aae8e86376e166a Mon Sep 17 00:00:00 2001 +From: MilhouseVH +Date: Sun, 4 Feb 2018 17:46:59 +0000 +Subject: [PATCH] kernel 3.10 compat: RTAX_QUICKACK not added until 3.11.0 + +--- + src/basic/missing.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/basic/missing.h b/src/basic/missing.h +index 1280e6c..9d4d08e 100644 +--- a/src/basic/missing.h ++++ b/src/basic/missing.h +@@ -1047,6 +1047,10 @@ struct input_mask { + #define RTA_PREF 20 + #endif + ++#ifndef RTAX_QUICKACK ++#define RTAX_QUICKACK 15 ++#endif ++ + #ifndef IPV6_UNICAST_IF + #define IPV6_UNICAST_IF 76 + #endif +-- +2.14.1 +