summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch25
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb1
2 files changed, 26 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
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
index 002c774c6d..34556b2c29 100644
--- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
20 file://lrzsz_fix_for_automake-1.12.patch \ 20 file://lrzsz_fix_for_automake-1.12.patch \
21 file://lrzsz-check-locale.h.patch \ 21 file://lrzsz-check-locale.h.patch \
22 file://cve-2018-10195.patch \ 22 file://cve-2018-10195.patch \
23 file://include.patch \
23 " 24 "
24 25
25SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4" 26SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4"