0002-Constant-Fix-up-shebang.patch 1.2 KB

1234567891011121314151617181920212223242526272829
  1. From a02355bdc8cde1115daf101675cdfb707d337bf1 Mon Sep 17 00:00:00 2001
  2. From: Joshua Watt <JPEWhacker@gmail.com>
  3. Date: Mon, 17 Jun 2019 10:47:23 -0500
  4. Subject: [PATCH] Constant: Fix up shebang
  5. The instructions indicate that the script should be explicitly passed to
  6. "perl -x", so automatically setting the #! to be ^X is unnecessary and
  7. makes the file non-reproducible when building because ^X could be the
  8. absolute path to miniperl.
  9. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
  10. Upstream-Status: Submitted [https://rt.cpan.org/Public/Bug/Display.html?id=129866]
  11. ---
  12. cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
  15. index 14eb809..d4d074e 100644
  16. --- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
  17. +++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
  18. @@ -219,7 +219,7 @@ sub dogfood {
  19. Regenerate these constant functions by feeding this entire source file to
  20. perl -x
  21. -#!$^X -w
  22. +#!/usr/bin/env perl -x -w
  23. use ExtUtils::Constant qw (constant_types C_constant XS_constant);
  24. EOT