diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-10-01 14:05:05 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-10-02 10:03:23 -0700 |
commit | 616991508e15a5d8a4faf020ebeb4062dc46c64b (patch) | |
tree | b6c429a651308ed08c24b1409cd0b7026c656efe /meta-networking | |
parent | cd629b722db82b6ec0e97f6564ba52abfe57d93c (diff) | |
download | meta-openembedded-616991508e15a5d8a4faf020ebeb4062dc46c64b.tar.gz |
relayd: Update to latest tip of trunk
Drop the patch fixing an issue already addressed upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/relayd/relayd/0001-rtnl_flush-Error-on-failed-write.patch | 34 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/relayd/relayd_git.bb | 6 |
2 files changed, 2 insertions, 38 deletions
diff --git a/meta-networking/recipes-connectivity/relayd/relayd/0001-rtnl_flush-Error-on-failed-write.patch b/meta-networking/recipes-connectivity/relayd/relayd/0001-rtnl_flush-Error-on-failed-write.patch deleted file mode 100644 index eaaf30460..000000000 --- a/meta-networking/recipes-connectivity/relayd/relayd/0001-rtnl_flush-Error-on-failed-write.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 2fa326b26dc479942367dc4283e2f87372403988 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 17 Jun 2017 09:32:04 -0700 | ||
4 | Subject: [PATCH] rtnl_flush: Error on failed write() | ||
5 | |||
6 | Fixes | ||
7 | route.c:45:2: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] | ||
8 | | write(fd, "-1", 2); | ||
9 | | ^~~~~~~~~~~~~~~~~~ | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | Upstream-Status: Submitted | ||
14 | |||
15 | route.c | 3 ++- | ||
16 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/route.c b/route.c | ||
19 | index c552d1f..fc5c31e 100644 | ||
20 | --- a/route.c | ||
21 | +++ b/route.c | ||
22 | @@ -42,7 +42,8 @@ static void rtnl_flush(void) | ||
23 | if (fd < 0) | ||
24 | return; | ||
25 | |||
26 | - write(fd, "-1", 2); | ||
27 | + if (write(fd, "-1", 2) < 0 ) | ||
28 | + perror("write"); | ||
29 | close(fd); | ||
30 | } | ||
31 | |||
32 | -- | ||
33 | 2.13.1 | ||
34 | |||
diff --git a/meta-networking/recipes-connectivity/relayd/relayd_git.bb b/meta-networking/recipes-connectivity/relayd/relayd_git.bb index 1da18d7ca..5105753e7 100644 --- a/meta-networking/recipes-connectivity/relayd/relayd_git.bb +++ b/meta-networking/recipes-connectivity/relayd/relayd_git.bb | |||
@@ -5,11 +5,9 @@ LIC_FILES_CHKSUM = "file://main.c;endline=17;md5=86aad799085683e0a2e1c2684a20bab | |||
5 | 5 | ||
6 | DEPENDS = "libubox" | 6 | DEPENDS = "libubox" |
7 | 7 | ||
8 | SRC_URI = "git://git.openwrt.org/project/relayd.git;branch=master \ | 8 | SRC_URI = "git://git.openwrt.org/project/relayd.git;branch=master" |
9 | file://0001-rtnl_flush-Error-on-failed-write.patch \ | ||
10 | " | ||
11 | 9 | ||
12 | SRCREV = "f4d759be54ceb37714e9a6ca320d5b50c95e9ce9" | 10 | SRCREV = "f646ba40489371e69f624f2dee2fc4e19ceec00e" |
13 | PV = "0.0.1+git${SRCPV}" | 11 | PV = "0.0.1+git${SRCPV}" |
14 | 12 | ||
15 | UPSTREAM_CHECK_COMMITS = "1" | 13 | UPSTREAM_CHECK_COMMITS = "1" |