<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/perl/patches, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2025-05-16T08:01:27Z</updated>
<entry>
<title>perl: do not set LD_LIBRARY_PATH for cross compile</title>
<updated>2025-05-16T08:01:27Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2025-05-12T16:42:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=67669398926f85796e73919974ce290eecd5d3e6'/>
<id>urn:sha1:67669398926f85796e73919974ce290eecd5d3e6</id>
<content type='text'>
We don't want to set LD_LIBRARY_PATH to a directory filled with target
libraries when running a host perl. When the host and target
architecture are the same, some libraries will be loaded from this
path, resulting in the build to break because of glibc/musl mismatch.

Reported-by: John Audia &lt;therealgraysky@proton.me&gt;
Fixes: e7b5a35e5caa ("perl: drop 110-always_use_miniperl.patch")
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>perl: drop 110-always_use_miniperl.patch</title>
<updated>2025-05-05T09:20:38Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2025-04-25T10:35:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=e7b5a35e5caa784200da32b6c6b457e20a67fd2a'/>
<id>urn:sha1:e7b5a35e5caa784200da32b6c6b457e20a67fd2a</id>
<content type='text'>
The patch was introduced in commit 4c57844f0f04 ("lang/perl: Add hack to
make perl always use miniperl during build"), but it is not actually
necessary. By setting $perl to a non-empty value (using 'perl' as is
common on desktop distros), the logic works as intended and selects the
correct perl binary for host and target builds.

As miniperl just symlinks to host perl for target builds, the main
effect of this change is not unconditionally passing `-Ilib -I.`
anymore. This seems like a good thing; host libraries should be used
with host perl by default.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>perl: replace 910-miniperl-needs-inc-dot.patch with smaller scope fix</title>
<updated>2025-05-05T09:20:38Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2025-04-25T00:06:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2a7dc154027503d4cdfd3aa927616d365183be12'/>
<id>urn:sha1:2a7dc154027503d4cdfd3aa927616d365183be12</id>
<content type='text'>
The patch was first introduced in commit 4a94479f9652 ("perl: update to
5.26.1") to fix the target build when the host perl has
default_inc_excludes_dot enabled. It just added back the `-I`. to every
call of miniperl; this solution is questionable however, as it adds `.` to
the beginning of the search path, not as a final fallback like perl did
before default_inc_excludes_dot (and like miniperl does).

It is also not necessary - only two scripts, write_buildcustomize.pl and
configpm, expect to be able to include a file from `.` (in both cases a
file the script just generated). Just fix the two scripts instead.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>perl: update version 5.40.0</title>
<updated>2024-06-20T21:18:35Z</updated>
<author>
<name>Esaaprilia Salsabila</name>
</author>
<published>2024-06-17T23:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=c5b97d4d967fde1e090b90b547500abaa40cc925'/>
<id>urn:sha1:c5b97d4d967fde1e090b90b547500abaa40cc925</id>
<content type='text'>
https://metacpan.org/release/HAARG/perl-5.40.0

remove bytes_heavy.pl
Perl/perl5#22047

perl update version 5.40.0

Signed-off-by: Esaaprilia Salsabila &lt;esaapriliasalsabila@gmail.com&gt;
</content>
</entry>
<entry>
<title>perl: fix compilation with GCC14</title>
<updated>2024-06-09T00:47:24Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2024-06-09T00:00:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ea8e6fbf33728ecc0546764b115bd2701d87e4aa'/>
<id>urn:sha1:ea8e6fbf33728ecc0546764b115bd2701d87e4aa</id>
<content type='text'>
Need the header for fegetround.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>perl: fix not a Mach-O file on macOS</title>
<updated>2024-04-24T02:00:11Z</updated>
<author>
<name>Georgi Valkov</name>
</author>
<published>2024-04-20T15:46:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=847a535a3be1df80c528931dfdaf4c4107a0b21d'/>
<id>urn:sha1:847a535a3be1df80c528931dfdaf4c4107a0b21d</id>
<content type='text'>
Reverts [1] to resolve the following build error on macOS:

/Volumes/wrt3200/openwrt/staging_dir/hostpkg/usr/bin/perl installperl --destdir=/Volumes/wrt3200/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/perl/perl-5.38.2/ipkg-install
WARNING: You've never run 'make test' or some tests failed! (Installing anyway.)
  /usr/bin/perl5.38.2
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: input file: /Volumes/wrt3200/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/perl/perl-5.38.2/ipkg-install/usr/bin/perl5.38.2 is not a Mach-O file

[1] https://github.com/Perl/perl5/commit/88efce38149481334db7ddb932f9b74eaaa9765b

Signed-off-by: Georgi Valkov &lt;gvalkov@gmail.com&gt;
</content>
</entry>
<entry>
<title>perl: update to version 5.38.2</title>
<updated>2023-12-01T19:18:10Z</updated>
<author>
<name>Andy Syam</name>
</author>
<published>2023-12-01T11:01:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=24847159857ccd64d5d823d109a03b1908b25bd0'/>
<id>urn:sha1:24847159857ccd64d5d823d109a03b1908b25bd0</id>
<content type='text'>
removed one that no longer exists in perl-5.38.2

updated one patch

fixed missing builtin.pm

Signed-off-by: Andy Syam &lt;privasisource@gmail.com&gt;
</content>
</entry>
<entry>
<title>perl: update to version 5.38.0</title>
<updated>2023-11-23T02:32:50Z</updated>
<author>
<name>Andy Syam</name>
</author>
<published>2023-11-21T06:13:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0142d0659822413a3ac5ed4c76d74cbcf5a1ca7e'/>
<id>urn:sha1:0142d0659822413a3ac5ed4c76d74cbcf5a1ca7e</id>
<content type='text'>
removed some sources to download perl. I believe I only need one source to download perl at https://www.cpan.org/src/5.0. I see some Linux distributions use that source to download.
change the position of PKG_MAINTAINER to make it neater and prettier

perform a patch refresh
removes some patches that have been applied in perl-5.38.0 as well as patches that are no longer used in perl-5.38.0

added one patch Perl/perl5@ba6e2c3 this fixes the issue regcomp*.c, regexec.c - fixup regex engine build under -Uusedl

provided updates and synchronized libc.config base.config version.config to perl-5.38.0
removed deprecated arybase in perl-5.29.4

Signed-off-by: Andy Syam &lt;privasisource@gmail.com&gt;
</content>
</entry>
<entry>
<title>perl: fix build errors on macOS</title>
<updated>2021-02-09T08:45:30Z</updated>
<author>
<name>Georgi Valkov</name>
</author>
<published>2021-02-06T18:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=6375f73b297c3d685dacc2e7a92e1e536ab16eae'/>
<id>urn:sha1:6375f73b297c3d685dacc2e7a92e1e536ab16eae</id>
<content type='text'>
Added a check for macOS 11 and newer to resolve a compile error:
*** Unexpected product version 11.2.

Added Internals::getcwd.
Fallback to the built-in getcwd to resolve compile errors on macOS:
Can't locate Errno.pm in @INC
/miniperl not found

Signed-off-by: Georgi Valkov &lt;gvalkov@abv.bg&gt;
</content>
</entry>
<entry>
<title>perl: fix build failure in GCC10</title>
<updated>2020-06-03T10:59:49Z</updated>
<author>
<name>Ken Wong</name>
</author>
<published>2020-05-16T05:30:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=65578a43f0d12c02888df00b6fdc90c73a02875c'/>
<id>urn:sha1:65578a43f0d12c02888df00b6fdc90c73a02875c</id>
<content type='text'>
The perl Configure file was matching GCC 10 against "1*" and treating it
as GCC 1, causing ABI breakage and segfaults.

Cherry-pick the upstream patch which fixes it to check against (e.g)
"1.*" instead, which will make it work for hundreds more GCC versions
to come.

https://github.com/Perl/perl5/commit/6bd6308fcea3541
 "Adapt Configure to GCC version 10"

Also includes the previous commit just adding GCC 8 and 9 to one case:
https://github.com/Perl/perl5/commit/ae195500577d707
 "Add gcc-8 and gcc-9 for FORTIFY_SOURCE"

Signed-off-by: Ken Wong &lt;xinxijishuwyq@gmail.com&gt;
</content>
</entry>
</feed>
