summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/lrzsz
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/lrzsz')
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch2
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch2
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb11
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
6currently its using 'ar' program from build host, which is not expected, 6currently its using 'ar' program from build host, which is not expected,
7we need to respect AR passed in environment 7we need to respect AR passed in environment
8 8
9Upstream-Status: Pending 9Upstream-Status: Inappropriate [upstream hasn't been active since 1998]
10 10
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-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 @@
1Update autotools infrastructure (including gettext) to modern versions. 1Update autotools infrastructure (including gettext) to modern versions.
2 2
3Upstream-Status: Pending 3Upstream-Status: Inappropriate [upstream hasn't been active since 1998]
4Signed-off-by: Phil Blundell <pb@pbcl.net> 4Signed-off-by: Phil Blundell <pb@pbcl.net>
5 5
6diff -uprN clean/lrzsz-0.12.20/configure.in lrzsz-0.12.20/configure.in 6diff -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
5receive (rz, rx, rb) files over a dial-in serial port from a variety of programs \ 5receive (rz, rx, rb) files over a dial-in serial port from a variety of programs \
6running under various operating systems. " 6running under various operating systems. "
7HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html" 7HOMEPAGE = "http://www.ohse.de/uwe/software/lrzsz.html"
8LICENSE = "GPLv2+" 8LICENSE = "GPL-2.0-or-later"
9LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ 9LIC_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"
11SECTION = "console/network" 11SECTION = "console/network"
12DEPENDS = "" 12DEPENDS = ""
13PR = "r6"
14 13
15SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ 14SRC_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
39ALTERNATIVE_PRIORITY = "100" 38ALTERNATIVE_PRIORITY = "100"
40 39
41ALTERNATIVE_${PN} = "rz rx rb sz sx sb" 40ALTERNATIVE:${PN} = "rz rx rb sz sx sb"
42 41
43ALTERNATIVE_TARGET[rz] = "${bindir}/lrz" 42ALTERNATIVE_TARGET[rz] = "${bindir}/lrz"
44ALTERNATIVE_TARGET[rx] = "${bindir}/lrz" 43ALTERNATIVE_TARGET[rx] = "${bindir}/lrz"
@@ -47,3 +46,9 @@ ALTERNATIVE_TARGET[rb] = "${bindir}/lrz"
47ALTERNATIVE_TARGET[sz] = "${bindir}/lsz" 46ALTERNATIVE_TARGET[sz] = "${bindir}/lsz"
48ALTERNATIVE_TARGET[sx] = "${bindir}/lsz" 47ALTERNATIVE_TARGET[sx] = "${bindir}/lsz"
49ALTERNATIVE_TARGET[sb] = "${bindir}/lsz" 48ALTERNATIVE_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]
54CFLAGS += "-Wno-error=incompatible-pointer-types"