summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/lrzsz/lrzsz-0.12.20
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-06-03 09:57:26 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-04 09:09:42 +0100
commit0dc37e9388d0f668aad7307a37d4f3166d2c47d9 (patch)
tree6c3d083476b1da81f0e38b7ace1fae2583261515 /meta/recipes-bsp/lrzsz/lrzsz-0.12.20
parenta972e4015b4867dc65f88356feccae5095b96cb0 (diff)
downloadpoky-0dc37e9388d0f668aad7307a37d4f3166d2c47d9.tar.gz
lrzsz: Add implicit declaration fixes from Debian
(From OE-Core rev: 6fa60ac102f6d3977df4236bd5a22680298bdac2) Signed-off-by: Adrian Bunk <bunk@stusta.de> -- v2: Add comment in the patch header. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz-0.12.20')
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch
new file mode 100644
index 0000000000..5fcb3aa92b
--- /dev/null
+++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch
@@ -0,0 +1,25 @@
1Implicit declaration compile warning fixes from Debian
2
3Signed-off-by: Adrian Bunk <bunk@stusta.de>
4Upstream-Status: Inappropriate [upstream is dead]
5
6--- lrzsz-0.12.21.orig/lib/long-options.c
7+++ lrzsz-0.12.21/lib/long-options.c
8@@ -22,6 +22,7 @@
9 #endif
10
11 #include <stdio.h>
12+#include <stdlib.h>
13 #include <getopt.h>
14 #include "long-options.h"
15
16--- lrzsz-0.12.21.orig/src/lsyslog.c
17+++ lrzsz-0.12.21/src/lsyslog.c
18@@ -22,6 +22,7 @@
19 #ifdef ENABLE_SYSLOG
20 #include "zglobal.h"
21 #include <pwd.h>
22+#include <stdio.h>
23 #include <stdlib.h>
24 #include <string.h>
25 #endif