From cf9383412494964d6188fcf08a362c0c0f313afc Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 26 Nov 2019 14:11:14 +0300 Subject: Import perl (5.30.0-9) --- debian/patches/debian/ld_run_path.diff | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/patches/debian/ld_run_path.diff (limited to 'debian/patches/debian/ld_run_path.diff') diff --git a/debian/patches/debian/ld_run_path.diff b/debian/patches/debian/ld_run_path.diff new file mode 100644 index 0000000..40b4f70 --- /dev/null +++ b/debian/patches/debian/ld_run_path.diff @@ -0,0 +1,21 @@ +From: Brendan O'Dea +Date: Fri, 18 Mar 2005 22:22:25 +1100 +Subject: Remove standard libs from LD_RUN_PATH as per Debian policy. + +--- + cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm +index a6da855..fb849b2 100644 +--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm ++++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm +@@ -62,6 +62,8 @@ sub _unix_os2_ext { + $potential_libs =~ s/(^|\s)(-(?:weak_|reexport_|lazy_)?framework)\s+(\S+)/$1-Wl,$2 -Wl,$3/g; + $potential_libs =~ s/(^|\s)(-F)\s*(\S+)/$1-Wl,$2 -Wl,$3/g; + } ++ # Debian-specific: don't use LD_RUN_PATH for standard dirs ++ $ld_run_path_seen{$_}++ for @libpath; + + foreach my $thislib ( split ' ', $potential_libs ) { + my ( $custom_name ) = ''; -- cgit v1.2.3