summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/umip/files/0001-replace-SIGCLD-with-SIGCHLD-and-include-sys-types.h.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-10-07 19:12:56 -0700
committerKhem Raj <raj.khem@gmail.com>2018-10-07 21:45:20 -0700
commit9254a77848ec36a86e01b5a6d499c44a7be067d9 (patch)
tree99f999a08be7f6a07f611f1fbd78e4401b2e1098 /meta-oe/recipes-connectivity/umip/files/0001-replace-SIGCLD-with-SIGCHLD-and-include-sys-types.h.patch
parent99ecc889a0909d54b6bb5c795087585adde1bfbd (diff)
downloadmeta-openembedded-9254a77848ec36a86e01b5a6d499c44a7be067d9.tar.gz
umip: fix recipe location typo
Since `36983fe umip: move to meta-networking' applied, it was moved to invalid location. Fix prior partial move to meta-networking Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/umip/files/0001-replace-SIGCLD-with-SIGCHLD-and-include-sys-types.h.patch')
-rw-r--r--meta-oe/recipes-connectivity/umip/files/0001-replace-SIGCLD-with-SIGCHLD-and-include-sys-types.h.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-oe/recipes-connectivity/umip/files/0001-replace-SIGCLD-with-SIGCHLD-and-include-sys-types.h.patch b/meta-oe/recipes-connectivity/umip/files/0001-replace-SIGCLD-with-SIGCHLD-and-include-sys-types.h.patch
deleted file mode 100644
index 153bced39..000000000
--- a/meta-oe/recipes-connectivity/umip/files/0001-replace-SIGCLD-with-SIGCHLD-and-include-sys-types.h.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From f567740cf64978ac9db014c786b6d0267b244f33 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 4 Mar 2018 22:30:30 -0800
4Subject: [PATCH 1/2] replace SIGCLD with SIGCHLD and include sys/types.h
5
6Fixes
7main.c:129:10: error: 'SIGCLD' undeclared (first use in this function); did you mean 'SIGCHLD'?
8 signal(SIGCLD, sig_child);
9 ^~~~~~
10 SIGCHLD
11
12main.c:125:2: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration]
13 umask(0);
14 ^~~~~
15
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18Upstream-Status: Pending
19
20 src/main.c | 5 +++--
21 1 file changed, 3 insertions(+), 2 deletions(-)
22
23Index: git/src/main.c
24===================================================================
25--- git.orig/src/main.c
26+++ git/src/main.c
27@@ -133,9 +133,9 @@ static void daemon_start(int ignsigcld)
28
29 if (ignsigcld) {
30 #ifdef SIGTSTP
31- signal(SIGCLD, sig_child);
32+ signal(SIGCHLD, sig_child);
33 #else
34- signal(SIGCLD, SIG_IGN);
35+ signal(SIGCHLD, SIG_IGN);
36 #endif
37 }
38 }