diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-11-04 09:08:38 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-15 15:19:54 +0000 |
commit | a60304d4c815087e28753b179da3bda421622baa (patch) | |
tree | 69cfd8d5f31a98b8fc39d710e14d2197fbde9c32 /meta/recipes-extended/gawk/gawk-4.1.4 | |
parent | fe5c48dddf4bf6555be701bf38c316718b1c1794 (diff) | |
download | poky-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/gawk-4.1.4')
-rw-r--r-- | meta/recipes-extended/gawk/gawk-4.1.4/run-ptest | 10 | ||||
-rw-r--r-- | meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch | 30 |
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest b/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest new file mode 100644 index 0000000000..d23f0bf6d7 --- /dev/null +++ b/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | cd test | ||
4 | for i in `grep -vE "@|^$|#|Gt-dummy" Maketests |awk -F: '{print $1}'`; \ | ||
5 | do LC_ALL=${GAWKLOCALE:-C} LANG=${GAWKLOCALE:-C} srcdir=`pwd` AWK=gawk CMP=cmp \ | ||
6 | make -f Maketests $i >$i.tmp 2>&1; \ | ||
7 | grep -q "Error" $i.tmp; \ | ||
8 | if [ $? -eq 0 ]; then echo "FAIL: $i"; \ | ||
9 | else echo "PASS: $i"; rm -f $i.tmp; fi; \ | ||
10 | done | ||
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 @@ | |||
1 | From a3a3f26078223c47871c7b53e5c015ad163ae045 Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Berton <fabio.berton@ossystems.com.br> | ||
3 | Date: Thu, 3 Nov 2016 14:50:52 -0200 | ||
4 | Subject: [PATCH] test/arrayind1: Remove hashbang line | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | Remove "#!/usr/local/bin/awk -f" as none of the other awk scripts in the | ||
8 | test suite have a hashbang. | ||
9 | |||
10 | Upstream-Status: Submitted [1] | ||
11 | |||
12 | [1] https://lists.gnu.org/archive/html/bug-gawk/2016-11/msg00003.html | ||
13 | |||
14 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> | ||
15 | --- | ||
16 | test/arrayind1.awk | 1 - | ||
17 | 1 file changed, 1 deletion(-) | ||
18 | |||
19 | diff --git a/test/arrayind1.awk b/test/arrayind1.awk | ||
20 | index 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 | -- | ||
29 | 2.1.4 | ||
30 | |||