Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] glibc: Fix timestamp of plural.c after unpack
@ 2016-10-11  8:02 Yuanjie Huang
  2016-10-11  8:37 ` Mark Hatle
  2016-10-11 11:53 ` Phil Blundell
  0 siblings, 2 replies; 11+ messages in thread
From: Yuanjie Huang @ 2016-10-11  8:02 UTC (permalink / raw)
  To: openembedded-core

From: Yuanjie Huang <yuanjie.huang@windriver.com>

Source file plural.c might be updated with bison from plural.y, touch it
before applying patches so that this file is consistent across builds.

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
---
 meta/recipes-core/glibc/glibc.inc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index e85c704..5225dfc 100644
--- a/meta/recipes-core/glibc/glibc.inc
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -78,3 +78,10 @@ do_configure_prepend() {
 }
 
 GLIBC_ADDONS ?= "nptl,libidn"
+
+# Ensure that plural.c is newer than its Bison source plural.y,
+# unless the latter is patched.
+do_unpack_workaround() {
+	touch ${S}/intl/plural.c
+}
+addtask unpack_workaround after do_unpack before do_patch
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-10-11 13:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11  8:02 [PATCH] glibc: Fix timestamp of plural.c after unpack Yuanjie Huang
2016-10-11  8:37 ` Mark Hatle
2016-10-11  9:17   ` Burton, Ross
2016-10-11  9:50     ` Yuanjie Huang
2016-10-11 10:29       ` Mark Hatle
2016-10-11  9:22   ` Enrico Scholz
2016-10-11  9:46     ` Gary Thomas
2016-10-11 10:31       ` Mark Hatle
2016-10-11 11:53 ` Phil Blundell
2016-10-11 12:56   ` Mark Hatle
2016-10-11 13:01     ` Phil Blundell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox