0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch 1.2 KB

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