summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-23 22:22:54 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-24 22:32:49 +0100
commitb5e80c1ccf2f33c8110ab6761d853a8901f83b3a (patch)
treeb8bde82e97eed5ae6d5e99b35b61ea6eefecbe9e /meta
parentb6b985a22393931adef3412e726832848c41ce64 (diff)
downloadpoky-b5e80c1ccf2f33c8110ab6761d853a8901f83b3a.tar.gz
gettext: Fix ptest failure
msgmerge-29 is a script without execute permissions but executed as ./msgmerge-29 which results in this test failing. It is only one test which fails on gettext/qemux86-64 (From OE-Core rev: 96f001218d7b2b550160bee568ab451d59e3a577) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch23
-rw-r--r--meta/recipes-core/gettext/gettext_0.21.bb1
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch b/meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch
new file mode 100644
index 0000000000..e42a6c0a4d
--- /dev/null
+++ b/meta/recipes-core/gettext/gettext-0.21/0001-msgmerge-29-Add-executable-file-mode-bits.patch
@@ -0,0 +1,23 @@
1From 71988f83b69c4ed98d1b9418da80edf11a931894 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 23 Sep 2020 22:08:34 -0700
4Subject: [PATCH] msgmerge-29: Add executable file mode bits
5
6This script is installed with default mode bits and executed directly
7e.g ./msgmerge-29 when doing make check which results in
8
9/bin/bash: line 9: ./msgmerge-29: Permission denied
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 gettext-tools/tests/msgmerge-29 | 0
15 1 file changed, 0 insertions(+), 0 deletions(-)
16 mode change 100644 => 100755 gettext-tools/tests/msgmerge-29
17
18diff --git a/gettext-tools/tests/msgmerge-29 b/gettext-tools/tests/msgmerge-29
19old mode 100644
20new mode 100755
21--
222.28.0
23
diff --git a/meta/recipes-core/gettext/gettext_0.21.bb b/meta/recipes-core/gettext/gettext_0.21.bb
index 3af77bb4c8..bc14867bbb 100644
--- a/meta/recipes-core/gettext/gettext_0.21.bb
+++ b/meta/recipes-core/gettext/gettext_0.21.bb
@@ -21,6 +21,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
21 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ 21 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \
22 file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \ 22 file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \
23 file://mingw.patch \ 23 file://mingw.patch \
24 file://0001-msgmerge-29-Add-executable-file-mode-bits.patch \
24 " 25 "
25SRC_URI[sha256sum] = "c77d0da3102aec9c07f43671e60611ebff89a996ef159497ce8e59d075786b12" 26SRC_URI[sha256sum] = "c77d0da3102aec9c07f43671e60611ebff89a996ef159497ce8e59d075786b12"
26 27