summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/gawk
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2016-11-04 09:08:38 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-15 15:19:54 +0000
commita60304d4c815087e28753b179da3bda421622baa (patch)
tree69cfd8d5f31a98b8fc39d710e14d2197fbde9c32 /meta/recipes-extended/gawk
parentfe5c48dddf4bf6555be701bf38c316718b1c1794 (diff)
downloadpoky-a60304d4c815087e28753b179da3bda421622baa.tar.gz
gawk: Update to version 4.1.4
Add patch to remove hashbang line in file test/arrayind1.awk. This patch fixes: / |WARNING: gawk-4.1.4-r0 do_package_qa: QA Issue: |/usr/lib/gawk/ptest/test/arrayind1.awk contained in package gawk-ptest |requires /usr/local/bin/awk, but no providers found in RDEPENDS_gawk-ptest? |[file-rdeps] \ Patch was submitted to upstream [1] [1] https://lists.gnu.org/archive/html/bug-gawk/2016-11/msg00003.html (From OE-Core rev: 7bac3652c2ea0c4d60b1830bc07f2c4c2aaed0ae) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/gawk')
-rw-r--r--meta/recipes-extended/gawk/gawk-4.1.4/run-ptest (renamed from meta/recipes-extended/gawk/gawk-4.1.3/run-ptest)0
-rw-r--r--meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch30
-rw-r--r--meta/recipes-extended/gawk/gawk_4.1.4.bb (renamed from meta/recipes-extended/gawk/gawk_4.1.3.bb)5
3 files changed, 33 insertions, 2 deletions
diff --git a/meta/recipes-extended/gawk/gawk-4.1.3/run-ptest b/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest
index d23f0bf6d7..d23f0bf6d7 100644
--- a/meta/recipes-extended/gawk/gawk-4.1.3/run-ptest
+++ b/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest
diff --git a/meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch b/meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch
new file mode 100644
index 0000000000..d4262ed0d9
--- /dev/null
+++ b/meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch
@@ -0,0 +1,30 @@
1From a3a3f26078223c47871c7b53e5c015ad163ae045 Mon Sep 17 00:00:00 2001
2From: Fabio Berton <fabio.berton@ossystems.com.br>
3Date: Thu, 3 Nov 2016 14:50:52 -0200
4Subject: [PATCH] test/arrayind1: Remove hashbang line
5Organization: O.S. Systems Software LTDA.
6
7Remove "#!/usr/local/bin/awk -f" as none of the other awk scripts in the
8test suite have a hashbang.
9
10Upstream-Status: Submitted [1]
11
12[1] https://lists.gnu.org/archive/html/bug-gawk/2016-11/msg00003.html
13
14Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
15---
16 test/arrayind1.awk | 1 -
17 1 file changed, 1 deletion(-)
18
19diff --git a/test/arrayind1.awk b/test/arrayind1.awk
20index 5d4a6f3..59e8b4e 100755
21--- a/test/arrayind1.awk
22+++ b/test/arrayind1.awk
23@@ -1,4 +1,3 @@
24-#!/usr/local/bin/awk -f
25 # this script renums pedigrees with metafounders
26 # so that they are added *before*regular animals
27 # mf are ascertained because they are not in the 1st column
28--
292.1.4
30
diff --git a/meta/recipes-extended/gawk/gawk_4.1.3.bb b/meta/recipes-extended/gawk/gawk_4.1.4.bb
index 6ca7f3ef45..b888df197c 100644
--- a/meta/recipes-extended/gawk/gawk_4.1.3.bb
+++ b/meta/recipes-extended/gawk/gawk_4.1.4.bb
@@ -17,10 +17,11 @@ PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr"
17 17
18SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ 18SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
19 file://run-ptest \ 19 file://run-ptest \
20 file://test-arrayind1-Remove-hashbang-line.patch \
20" 21"
21 22
22SRC_URI[md5sum] = "55d37f4069502677f25d1340df8eec97" 23SRC_URI[md5sum] = "f20c94ca51b6ebfc9bffb90f95c8ffbb"
23SRC_URI[sha256sum] = "524effa5b9ecd4ed940f2581c5d3c1df4e4bd7e6f768aa033c1916f47dfc6e29" 24SRC_URI[sha256sum] = "8c03080e2b5a56263e8783f6f1f306398d4591be18254041f3f547efef944d35"
24 25
25inherit autotools gettext texinfo update-alternatives 26inherit autotools gettext texinfo update-alternatives
26 27