summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-03-06 22:51:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-07 10:06:17 +0000
commitf303c98fda2b14b6d8b16cc21404539e13209c7f (patch)
treefc93779b71b5747e9db331484717001b887081bb /meta/recipes-core/gettext
parent0e59abfb66ca83ac455acd92a764bd955da8eefc (diff)
downloadpoky-f303c98fda2b14b6d8b16cc21404539e13209c7f.tar.gz
gettext: fix ptest package reproducibilty
(From OE-Core rev: 15fe7de55b90293a588703700b3de72cf95ecd79) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext')
-rw-r--r--meta/recipes-core/gettext/gettext-0.20.1/0001-init-env.in-do-not-add-C-CXX-parameters.patch29
-rw-r--r--meta/recipes-core/gettext/gettext_0.20.1.bb1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.20.1/0001-init-env.in-do-not-add-C-CXX-parameters.patch b/meta/recipes-core/gettext/gettext-0.20.1/0001-init-env.in-do-not-add-C-CXX-parameters.patch
new file mode 100644
index 0000000000..d45b75869a
--- /dev/null
+++ b/meta/recipes-core/gettext/gettext-0.20.1/0001-init-env.in-do-not-add-C-CXX-parameters.patch
@@ -0,0 +1,29 @@
1From 9b912a47f790a7b282ec0c2295a188c5d8fb6a7c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 6 Mar 2020 21:04:05 +0000
4Subject: [PATCH] init-env.in: do not add C/CXX parameters
5
6These are taken from the cross environment and include
7sysroot paths, so are not reproducible.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 gettext-tools/tests/init-env.in | 4 ----
13 1 file changed, 4 deletions(-)
14
15diff --git a/gettext-tools/tests/init-env.in b/gettext-tools/tests/init-env.in
16index cc84ffd..b69c990 100644
17--- a/gettext-tools/tests/init-env.in
18+++ b/gettext-tools/tests/init-env.in
19@@ -3,10 +3,6 @@ top_builddir=../..
20
21 OBJEXT="@OBJEXT@"
22 EXEEXT="@EXEEXT@"
23-CC="@CC@"
24-CFLAGS="@CFLAGS@"
25-CXX="@CXX@"
26-CXXFLAGS="@CXXFLAGS@"
27 CPPFLAGS="@CPPFLAGS@"
28 LDFLAGS="@LDFLAGS@"
29 LTLIBINTL="@LTLIBINTL@"
diff --git a/meta/recipes-core/gettext/gettext_0.20.1.bb b/meta/recipes-core/gettext/gettext_0.20.1.bb
index 214803f767..85493e7595 100644
--- a/meta/recipes-core/gettext/gettext_0.20.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.20.1.bb
@@ -25,6 +25,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
25 file://serial-tests-config.patch \ 25 file://serial-tests-config.patch \
26 file://0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch \ 26 file://0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch \
27 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \ 27 file://0001-tests-autopoint-3-unset-MAKEFLAGS.patch \
28 file://0001-init-env.in-do-not-add-C-CXX-parameters.patch \
28 " 29 "
29SRC_URI[md5sum] = "bb5b0c0caa028105f3ca1905ddc306e2" 30SRC_URI[md5sum] = "bb5b0c0caa028105f3ca1905ddc306e2"
30SRC_URI[sha256sum] = "66415634c6e8c3fa8b71362879ec7575e27da43da562c798a8a2f223e6e47f5c" 31SRC_URI[sha256sum] = "66415634c6e8c3fa8b71362879ec7575e27da43da562c798a8a2f223e6e47f5c"