diff options
Diffstat (limited to 'meta-networking/recipes-support/dropwatch')
-rwxr-xr-x | meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch | 28 | ||||
-rw-r--r-- | meta-networking/recipes-support/dropwatch/dropwatch_1.5.4.bb | 4 |
2 files changed, 31 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch b/meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch new file mode 100755 index 000000000..33b72e05f --- /dev/null +++ b/meta-networking/recipes-support/dropwatch/dropwatch/0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 4872c52f55f9cb089e6681c3f1926663145b52ae Mon Sep 17 00:00:00 2001 | ||
2 | From: chenheyun <chen_heyun@163.com> | ||
3 | Date: Sun, 18 Feb 2024 05:08:25 -0800 | ||
4 | Subject: [PATCH] fix bug: build with sysroot head file instead of local head | ||
5 | file:net_dropmon.h | ||
6 | |||
7 | Signed-off-by: chenheyun <chen_heyun@163.com> | ||
8 | --- | ||
9 | src/main.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/src/main.c b/src/main.c | ||
13 | index e4746d9..81dc4da 100644 | ||
14 | --- a/src/main.c | ||
15 | +++ b/src/main.c | ||
16 | @@ -26,8 +26,8 @@ | ||
17 | #include <netlink/netlink.h> | ||
18 | #include <netlink/genl/genl.h> | ||
19 | #include <netlink/genl/ctrl.h> | ||
20 | +#include <net_dropmon.h> | ||
21 | |||
22 | -#include "net_dropmon.h" | ||
23 | #include "lookup.h" | ||
24 | |||
25 | /* | ||
26 | -- | ||
27 | 2.25.1 | ||
28 | |||
diff --git a/meta-networking/recipes-support/dropwatch/dropwatch_1.5.4.bb b/meta-networking/recipes-support/dropwatch/dropwatch_1.5.4.bb index e3dbac4a2..baa9398a1 100644 --- a/meta-networking/recipes-support/dropwatch/dropwatch_1.5.4.bb +++ b/meta-networking/recipes-support/dropwatch/dropwatch_1.5.4.bb | |||
@@ -8,7 +8,9 @@ SECTION = "net/misc" | |||
8 | LICENSE = "GPL-2.0-or-later" | 8 | LICENSE = "GPL-2.0-or-later" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" |
10 | 10 | ||
11 | SRC_URI = "git://github.com/nhorman/dropwatch.git;protocol=https;nobranch=1" | 11 | SRC_URI = "git://github.com/nhorman/dropwatch.git;protocol=https;nobranch=1 \ |
12 | file://0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch \ | ||
13 | " | ||
12 | SRCREV = "1e7e487a019a7c02f1f429c4d3a4647fa3787a13" | 14 | SRCREV = "1e7e487a019a7c02f1f429c4d3a4647fa3787a13" |
13 | 15 | ||
14 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |