summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp')
-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"