Debian Patches

Status for perl/5.38.2-3

Patch Description Author Forwarded Bugs Origin Last update
debian/cpan_definstalldirs.diff Provide a sensible INSTALLDIRS default for modules installed from CPAN.

Some modules which are included in core set INSTALLDIRS => 'perl'
explicitly in Makefile.PL or Build.PL. This makes sense for the normal @INC
ordering, but not ours.
Brendan O'Dea <bod@debian.org> no 2005-03-08
debian/db_file_ver.diff Remove overly restrictive DB_File version check.

Package dependencies ensure the correct library is linked at run-time.
Brendan O'Dea <bod@debian.org> no debian 2005-12-16
debian/doc_info.diff Replace generic man(1) instructions with Debian-specific information.

Indicate that the user needs to install the perl-doc package.
Brendan O'Dea <bod@debian.org> no 2005-03-18
debian/enc2xs_inc.diff Tweak enc2xs to follow symlinks and ignore missing @INC directories.

- ignore missing directories,
- follow symlinks (/usr/share/perl/5.8 -> 5.8.4).
- filter "." out when running "enc2xs -C", it's unnecessary and causes
issues with follow => 1 (see #603686 and [rt.cpan.org #64585])
Brendan O'Dea <bod@debian.org> no debian 2005-03-08
debian/errno_ver.diff Remove Errno version check due to upgrade problems with long-running processes.


Remove version check which can cause problems for long running
processes embedding perl when upgrading to a newer version,
compatible, but built on a different machine.
Brendan O'Dea <bod@debian.org> no debian 2005-12-16
debian/libperl_embed_doc.diff Note that libperl-dev package is required for embedded linking Brendan O'Dea <bod@debian.org> no debian 2005-03-08
fixes/respect_umask.diff Respect umask during installation
This is needed to satisfy Debian policy regarding group-writable
site directories.
Brendan O'Dea <bod@debian.org> no 2005-03-08
debian/writable_site_dirs.diff Set umask approproately for site install directories
Policy requires group writable site directories
Brendan O'Dea <bod@debian.org> no 2005-03-08
debian/extutils_set_libperl_path.diff EU:MM: set location of libperl.a under /usr/lib
The Debian packaging moves libperl.a a couple of levels up from the
CORE directory to match other static libraries.
Niko Tyni <ntyni@debian.org> no 2014-05-10
debian/no_packlist_perllocal.diff Don't install .packlist or perllocal.pod for perl or vendor Brendan O'Dea <bod@debian.org> no 2005-03-08
debian/fakeroot.diff Postpone LD_LIBRARY_PATH evaluation to the binary targets.
Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the
time the rule is evaluated rather than when the Makefile is created.

This is required when building packages with dpkg-buildpackage and fakeroot,
since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build"
rule where the Makefile is created, but is for the clean/binary* targets.
Brendan O'Dea <bod@debian.org> no 2005-03-18
debian/instmodsh_doc.diff Debian policy doesn't install .packlist files for core or vendor. Brendan O'Dea <bod@debian.org> no 2005-03-08
debian/ld_run_path.diff Remove standard libs from LD_RUN_PATH as per Debian policy. Brendan O'Dea <bod@debian.org> no 2005-03-18
debian/libnet_config_path.diff Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable. Brendan O'Dea <bod@debian.org> no 2005-03-08
debian/perlivp.diff Make perlivp skip include directories in /usr/local

On Sat, Jan 10, 2009 at 12:37:18AM +1100, Brendan O'Dea wrote:
> On Wed, Jan 7, 2009 at 12:21 AM, Niko Tyni <ntyni@debian.org> wrote:

> > We could create the directories in a postinst script, but I'm not sure
> > I see the point. They will be created automatically when installing
> > CPAN modules.
>
> The directories are intentionally not created, as this way they are
> excluded from the search path at start-up, saving a bunch of wasted
> stats at use/require time in the common case that the user has not
> installed any local packages. As Niko points out, they will be
> created as required.
Niko Tyni <ntyni@debian.org> no debian 2009-01-09
debian/squelch-locale-warnings.diff Squelch locale warnings in Debian package maintainer scripts

The system locales are rather frequently out of sync with the C library
during package upgrades, causing a huge amount of useless Perl locale
warnings. Squelch them when running package maintainer scripts, detected
by the DPKG_RUNNING_VERSION environment variable.

Any real locale problem will show up after the system upgrade too, and
the warning will be triggered normally again at that point.
Niko Tyni <ntyni@debian.org> no debian 2010-10-03
debian/patchlevel.diff List packaged patches in patchlevel.h

The list of packaged patches is in patchlevel-debian.h, which is generated
from the debian/patches/ directory when building the package.
Niko Tyni <ntyni@debian.org> no debian vendor 2011-05-15
fixes/document_makemaker_ccflags.diff Document that CCFLAGS should include $Config{ccflags}

Compiling XS extensions without $Config{ccflags} can break the
binary interface on some platforms.
Niko Tyni <ntyni@debian.org> yes debian upstream 2011-05-30
debian/find_html2text.diff Configure CPAN::Distribution with correct name of html2text

If you use cpan from Debian you usually wind up trying to read online
documentation through it. Unfortunately cpan can't find the
html2text.pl script even though it is installed using the Debian
package 'html2text'.

Please see the attached patch for a quick fix of this issue.

[Maintainer's note: html2text in Debian is not the same implementation
as the html2text.pl which is expected, but should provide similar
functionality].
Andreas Marschke <andreas.marschke@googlemail.com> no debian 2011-09-17
debian/perl5db-x-terminal-emulator.patch Invoke x-terminal-emulator rather than xterm in perl5db.pl
In Debian systems, xterm might not exist or might not be the preferred
terminal emulator. Use x-terminal-emulator instead
Dominic Hargreaves <dom@earth.li> not-needed debian 2012-04-14
debian/cpan-missing-site-dirs.diff Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable

The site directories do not exist on a typical Debian system. The build
systems will create them when necessary, so there's no need for a prompt
suggesting local::lib if the first existing parent directory is writable.

Also, writability of the core directories is not interesting as we
explicitly tell CPAN not to touch those with INSTALLDIRS=site.
Niko Tyni <ntyni@debian.org> no debian 2012-10-16
debian/makemaker-pasthru.diff Pass LD settings through to subdirectories
[rt.cpan.org #28632] fixed most issues with passing LD down to
subdirectory Makefile.PL files. However, there are some distributions
(including Wx, Par::Packer, and Verilog-Perl) that explicitly set
LD. Those still can't be overridden from the command line. Adding LD to
the PASTHRU list fixes this.
Niko Tyni <ntyni@debian.org> no debian 2014-08-24
debian/makemaker-manext.diff Make EU::MakeMaker honour MANnEXT settings in generated manpage headers

This was inherited from early changes by Brendan O'Dea, previously
(accidentally) in debian/prefix_changes.diff and before that in
debian/extutils_hacks.diff
Niko Tyni <ntyni@debian.org> no debian 2015-07-01
debian/kfreebsd-softupdates.diff Work around Debian Bug#796798
kFreeBSD 10 (possibly only with softupdates enabled) may defer
calculating the mtime for more than 2 seconds. Work around this
with a stat() call to calculate the mtime immediately.

(Modified to only stat() on kfreebsd by Niko Tyni)
Steven Chamberlain <steven@pyro.eu.org> no debian 2015-12-17
debian/hurd-softupdates.diff Fix t/op/stat.t failures on hurd
We already do this on GNU/kFreeBSD, and GNU/Hurd seems to need same
treatment.
Niko Tyni <ntyni@debian.org> no debian 2016-04-28
fixes/math_complex_doc_great_circle.diff Math::Trig: clarify definition of great_circle_midpoint Dominic Hargreaves <dom@earth.li> yes debian upstream 2016-04-30
fixes/math_complex_doc_angle_units.diff Math::Trig: document angle units Dominic Hargreaves <dom@earth.li> yes debian upstream 2016-04-30
fixes/cpan_web_link.diff CPAN: Add link to main CPAN web site Dominic Hargreaves <dom@earth.li> yes debian upstream 2016-04-30
debian/installman-utf8.diff Generate man pages with UTF-8 characters
This fixes totally incorrectly rendered manual pages like
perlunicook and perltw.
Niko Tyni <ntyni@debian.org> no debian 2016-11-19
debian/perldoc-pager.diff Fix perldoc terminal escapes when sensible-pager is less
This is a temporary fix while upstream is reworking the
pager handling.
Niko Tyni <ntyni@debian.org> yes debian upstream 2017-10-13
debian/prune_libs.diff Prune the list of libraries wanted to what we actually need.

We want to keep the dependencies on perl-base as small as possible,
and some of the original list may be present on buildds (see Bug#128355).

(Backported to metaconfig unit probes by Niko Tyni)
Brendan O'Dea <bod@debian.org> no debian 2005-03-18
debian/mod_paths.diff Tweak @INC ordering for Debian
Our order is:

etc (Debian specific, for config files)
site (5.8.1)
vendor (all)
core in perl-base (Debian specific, via APPLLIB_EXP)
core (5.8.1)
site (version-indep)
site (pre-5.8.1)

The rationale being that an admin (via site), or module packager
(vendor) can chose to shadow core modules when there is a newer
version than is included in core.

(later updates by Niko Tyni)
Brendan O'Dea <bod@debian.org> no 2005-03-18
debian/deprecate-with-apt.diff Point users to Debian packages of deprecated core modules Dominic Hargreaves <dom@earth.li> no debian 2010-05-17
debian/disable-stack-check.diff Disable debugperl stack extension checks for binary compatibility with perl

When an XS module is built without -DDEBUGGING but the interpreter is,
the debugging stack high-water mark checking on the interpreter side
doesn't work properly. This makes /usr/bin/debugperl less useful than
it could be as it can no longer use many XS module packages.

Patch the check away for now. We hope upstream will provide a Configure
option for this in the future.
Niko Tyni <ntyni@debian.org> yes debian upstream 2018-07-16
debian/perlbug-editor.diff Use "editor" as the default perlbug editor, as per Debian policy Niko Tyni <ntyni@debian.org> no debian 2019-02-24
debian/eu-mm-perl-base.diff Suppress an ExtUtils::MakeMaker warning about our non-default @INC
Config.pm gets loaded from a different path than archlibexp on Debian.
Niko Tyni <ntyni@debian.org> no debian 2020-06-06
fixes/io_socket_ip_ipv6.diff Disable getaddrinfo(3) AI_ADDRCONFIG for localhost and IPv4 numeric addresses

I_ADDRCONFIG can be a bad default for systems with a dual protocol
loopback device but just IPv6 connectivity. In such a case,
getaddrinfo(3) on 127.0.0.1 or 0.0.0.0 will fail with EAI_ADDRFAMILY
even though the loopback device is able to handle them.
Niko Tyni <ntyni@debian.org> yes 2020-07-04
debian/usrmerge-lib64.diff Configure / libpth.U: Do not adjust glibpth when /usr/lib64 is present.

This results in differing values when built on a usrmerge system.

[Niko Tyni: Debian systems have /lib64/ld-linux-x86-64.so.2 and nothing
else, so but so called "usrmerged" systems with symlinks like /lib64 ->
/usr/lib64 would trigger the unnecessary addition of both in glibpth.]
Vagrant Cascadian <vagrant@reproducible-builds.org> no debian 2021-07-15
debian/usrmerge-realpath.diff Configure / libpth.U: use realpath --no-symlinks on Debian
This makes the libpth probe results identical on usrmerged (/lib -> /usr/lib etc.)
vs. non-usrmerged systems.
Niko Tyni <ntyni@debian.org> no debian 2021-08-24
fixes/x32-io-msg-skip.diff Skip io/msg.t on x32 due to broken System V message queues Niko Tyni <ntyni@debian.org> no debian 2021-08-26
debian/configure-regen.diff Regenerate Configure et al. after probe unit changes Niko Tyni <ntyni@debian.org> no debian 2021-08-25
fixes/bignum-recursion.diff Fix CPAN RT #146411
- Avoid infinite recursion in bitwise operations. This happened when
arguments were upgraded and downgraded and upgraded again ad
infinitum.

- Add tests to verify the fix.

[Backported to Perl 5.38.0-RC2 in Debian by Niko Tyni]
Peter John Acklam <pjacklam@gmail.com> yes debian upstream backport, https://github.com/pjacklam/p5-Math-BigInt/commit/5020d66cc0ece2a5fbf5cb182ab7ab62c8adade5 2023-03-31
fixes/math-bigfloat-subclass.diff Fix Math::BigFloat subclass numeric comparison
This fixes commit 46d1252c98f565ae787c840173e5f98acf8953f1


(Backported to Debian perl core 5.38.0 package by Niko Tyni,
including a MANIFEST update.)
Niko Tyni <ntyni@debian.org> no debian backport, https://github.com/pjacklam/p5-Math-BigInt/commit/8039b1f2733f4b8adb9d21d97c06d6dae3eda147 2023-08-10
fixes/unbreak-locale-initialization.diff Revert "locale.c: Do uselocale() earlier in init process"
This unbreaks locale initialization when embedding perl until upstream
has a proper fix.

This reverts Perl upstream commit 7af2d2037375d58e700f9e1b217efb2c4db66133.
Niko Tyni <ntyni@debian.org> yes debian upstream 2024-01-12

All known versions for source package 'perl'

Links