mirror of
https://git.yoctoproject.org/poky
synced 2026-04-24 21:32:12 +02:00
PERLHOSTLIB var is used to build target perl. It let perl use the native perl .so module files at the time of compilation of target perl. These changes to perl make the PERLHOSTLIB variable also useful for building perl modules to use native .so perl module. (From OE-Core rev: f4d51e63c0df777bbcbe9ad160eb3ba41ae74c6e) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
932 B
Diff
32 lines
932 B
Diff
Upstream-Status:Inappropriate [debian patch]
|
|
|
|
From: Niko Tyni <ntyni@debian.org>
|
|
Subject: Fix sprintf not to ignore LC_NUMERIC with constants
|
|
Bug-Debian: http://bugs.debian.org/601549
|
|
Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78632
|
|
Origin: upstream, http://perl5.git.perl.org/perl.git/commit/b3fd61496ebc585b1115807e3195f17714662a09
|
|
|
|
Don't fold constants in sprintf() if locales are used
|
|
|
|
An upstream regression in 5.10.1 made sprintf() ignore LC_NUMERIC for
|
|
numeric constants.
|
|
|
|
---
|
|
op.c | 1 +
|
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/op.c b/op.c
|
|
index e94f158..3c6badb 100644
|
|
--- a/op.c
|
|
+++ b/op.c
|
|
@@ -2503,6 +2503,7 @@ S_fold_constants(pTHX_ register OP *o)
|
|
case OP_SLE:
|
|
case OP_SGE:
|
|
case OP_SCMP:
|
|
+ case OP_SPRINTF:
|
|
/* XXX what about the numeric ops? */
|
|
if (PL_hints & HINT_LOCALE)
|
|
goto nope;
|
|
--
|
|
tg: (c823880..) fixes/lc-numeric-sprintf (depends on: upstream)
|