summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/gawk/gawk-4.1.4
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/gawk-4.1.4
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/gawk-4.1.4')
-rw-r--r--meta/recipes-extended/gawk/gawk-4.1.4/run-ptest10
-rw-r--r--meta/recipes-extended/gawk/gawk-4.1.4/test-arrayind1-Remove-hashbang-line.patch30
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
3cd test
4for 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; \
10done
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