xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/perl/files/0002-Constant-Fix-up-shebang.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFrom 260ebd15e16cd86b9b58e5c5f3a496b3853ca46d Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Joshua Watt <JPEWhacker@gmail.com>
3*4882a593SmuzhiyunDate: Mon, 17 Jun 2019 10:47:23 -0500
4*4882a593SmuzhiyunSubject: [PATCH 2/2] Constant: Fix up shebang
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe instructions indicate that the script should be explicitly passed to
7*4882a593Smuzhiyun"perl -x", so automatically setting the #! to be ^X is unnecessary and
8*4882a593Smuzhiyunmakes the file non-reproducible when building because ^X could be the
9*4882a593Smuzhiyunabsolute path to miniperl.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSigned-off-by: Joshua Watt <JPEWhacker@gmail.com>
12*4882a593SmuzhiyunUpstream-Status: Submitted [https://rt.cpan.org/Public/Bug/Display.html?id=129866]
13*4882a593Smuzhiyun---
14*4882a593Smuzhiyun cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm | 2 +-
15*4882a593Smuzhiyun 1 file changed, 1 insertion(+), 1 deletion(-)
16*4882a593Smuzhiyun
17*4882a593Smuzhiyundiff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
18*4882a593Smuzhiyunindex 14eb809714..d4d074e121 100644
19*4882a593Smuzhiyun--- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
20*4882a593Smuzhiyun+++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
21*4882a593Smuzhiyun@@ -219,7 +219,7 @@ sub dogfood {
22*4882a593Smuzhiyun      Regenerate these constant functions by feeding this entire source file to
23*4882a593Smuzhiyun      perl -x
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun-#!$^X -w
26*4882a593Smuzhiyun+#!/usr/bin/env perl -x -w
27*4882a593Smuzhiyun use ExtUtils::Constant qw (constant_types C_constant XS_constant);
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun EOT
30*4882a593Smuzhiyun--
31*4882a593Smuzhiyun2.21.0
32*4882a593Smuzhiyun
33