diff options
Diffstat (limited to 'meta/recipes-bsp/lrzsz')
3 files changed, 10 insertions, 5 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch index 47c7ec4170..c8f0e2c4fe 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch +++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch | |||
@@ -6,7 +6,7 @@ Subject: [PATCH] Fix cross compilation using autoconf detected AR | |||
6 | currently its using 'ar' program from build host, which is not expected, | 6 | currently its using 'ar' program from build host, which is not expected, |
7 | we need to respect AR passed in environment | 7 | we need to respect AR passed in environment |
8 | 8 | ||
9 | Upstream-Status: Pending | 9 | Upstream-Status: Inappropriate [upstream hasn't been active since 1998] |
10 | 10 | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | --- | 12 | --- |
diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch index 33af38b4a8..ebd4a88081 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch +++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | Update autotools infrastructure (including gettext) to modern versions. | 1 | Update autotools infrastructure (including gettext) to modern versions. |
2 | 2 | ||
3 | Upstream-Status: Pending | 3 | Upstream-Status: Inappropriate [upstream hasn't been active since 1998] |
4 | Signed-off-by: Phil Blundell <pb@pbcl.net> | 4 | Signed-off-by: Phil Blundell <pb@pbcl.net> |
5 | 5 | ||
6 | diff -uprN clean/lrzsz-0.12.20/configure.in lrzsz-0.12.20/configure.in | 6 | diff -uprN clean/lrzsz-0.12.20/configure.in lrzsz-0.12.20/configure.in |
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index 54c431eeb3..3024ddcaf0 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | |||
@@ -5,12 +5,11 @@ These programs use error correcting protocols ({z,x,y}modem) to send (sz, sx, sb | |||
5 | receive (rz, rx, rb) files over a dial-in serial port from a variety of programs \ | 5 | receive (rz, rx, rb) files over a dial-in serial port from a variety of programs \ |
6 | running under various operating systems. " | 6 | running under various operating systems. " |
7 | HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html" | 7 | HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html" |
8 | LICENSE = "GPLv2+" | 8 | LICENSE = "GPL-2.0-or-later" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ |
10 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" | 10 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" |
11 | SECTION = "console/network" | 11 | SECTION = "console/network" |
12 | DEPENDS = "" | 12 | DEPENDS = "" |
13 | PR = "r6" | ||
14 | 13 | ||
15 | SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ | 14 | SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ |
16 | file://autotools-update.patch \ | 15 | file://autotools-update.patch \ |
@@ -38,7 +37,7 @@ inherit update-alternatives | |||
38 | 37 | ||
39 | ALTERNATIVE_PRIORITY = "100" | 38 | ALTERNATIVE_PRIORITY = "100" |
40 | 39 | ||
41 | ALTERNATIVE_${PN} = "rz rx rb sz sx sb" | 40 | ALTERNATIVE:${PN} = "rz rx rb sz sx sb" |
42 | 41 | ||
43 | ALTERNATIVE_TARGET[rz] = "${bindir}/lrz" | 42 | ALTERNATIVE_TARGET[rz] = "${bindir}/lrz" |
44 | ALTERNATIVE_TARGET[rx] = "${bindir}/lrz" | 43 | ALTERNATIVE_TARGET[rx] = "${bindir}/lrz" |
@@ -47,3 +46,9 @@ ALTERNATIVE_TARGET[rb] = "${bindir}/lrz" | |||
47 | ALTERNATIVE_TARGET[sz] = "${bindir}/lsz" | 46 | ALTERNATIVE_TARGET[sz] = "${bindir}/lsz" |
48 | ALTERNATIVE_TARGET[sx] = "${bindir}/lsz" | 47 | ALTERNATIVE_TARGET[sx] = "${bindir}/lsz" |
49 | ALTERNATIVE_TARGET[sb] = "${bindir}/lsz" | 48 | ALTERNATIVE_TARGET[sb] = "${bindir}/lsz" |
49 | |||
50 | # http://errors.yoctoproject.org/Errors/Details/766929/ | ||
51 | # lrzsz-0.12.20/src/tcp.c:75:56: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] | ||
52 | # lrzsz-0.12.20/src/tcp.c:83:52: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types] | ||
53 | # lrzsz-0.12.20/src/tcp.c:103:51: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types] | ||
54 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||