summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch')
-rw-r--r--meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch b/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
new file mode 100644
index 0000000000..63815d44fb
--- /dev/null
+++ b/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
@@ -0,0 +1,36 @@
1From a73fff1fcf0def4ce93964f1b63fe3ad0967259d Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Fri, 18 Feb 2022 09:44:26 +0000
4Subject: [PATCH] cpan/Sys-Syslog/Makefile.PL: Fix _PATH_LOG for deterministic
5
6It checks host's path such as /dev/log and uses it, this doesn't make sense for
7cross build, and it causes undeterministic, for example, the contianer os
8usually doesn't have /dev/log which leads to a different build result since
9other host usually has /dev/log, so make it always use the default value to fix
10the issue.
11
12Submitted a ticket to upstream: https://rt.cpan.org/Ticket/Display.html?id=141612
13
14Upstream-Status: Inappropriate [OE specific]
15
16Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
17---
18 cpan/Sys-Syslog/Makefile.PL | 2 ++
19 1 file changed, 2 insertions(+)
20
21diff --git a/cpan/Sys-Syslog/Makefile.PL b/cpan/Sys-Syslog/Makefile.PL
22index d09ba69..d44e58c 100644
23--- a/cpan/Sys-Syslog/Makefile.PL
24+++ b/cpan/Sys-Syslog/Makefile.PL
25@@ -130,6 +130,8 @@ else {
26 $_PATH_LOG = "";
27 }
28
29+# OE specific
30+$_PATH_LOG = "";
31
32 # if possible, generate the code that handles the constants with
33 # ExtUtils::Constant, otherwise use cached copy in fallback/
34--
352.31.1
36