Commit Graph

884 Commits

Author SHA1 Message Date
Petr Písař 0c45015a3b Do not clobber file bytes in :encoding layer 2018-04-19 18:14:53 +02:00
Petr Písař 150a309e82 perl-devel requires redhat-rpm-config because of hardened compiler profiles
$Config{ccflags} inherits
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 from perl.spec build
time. That breaks building XS modules if redhat-rpm-config is not
installed.
2018-04-19 17:04:47 +02:00
Petr Písař 8ee4862e56 5.26.2 bump 2018-04-16 13:28:09 +02:00
Petr Písař 3abe685779 5.26.2-RC1 bump 2018-03-26 15:36:10 +02:00
Petr Písař 89b92bf4f0 Move gcc dependency from ExtUtils::MakeMaker to ExtUtils::CBuilder
To benefit from a build root without a GCC, perl-ExtUtils-MakeMaker
cannot depend on gcc because a compiler is not needed for pure-Perl
packages.

bug #1547165
2018-03-02 15:22:42 +01:00
Florian Weimer f56d3d5593 Rebuild to pick up new build flags from redhat-rpm-config 2018-03-01 14:07:18 +01:00
Petr Písař 01965013b5 Update licenses found in the sources
TODO: Remove cpan/libnet/lib/Net/libnetFAQ.pod from the source
tar ball.
2018-02-16 15:28:19 +01:00
Igor Gnatenko 77a70b87de
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:26 +01:00
Petr Písař 71b4399055 Correct ldconfig_scriptlets invocation 2018-02-06 14:31:21 +01:00
Petr Písař 7317c1ba6c Call ldconfig scriptlets using a macro 2018-02-06 14:14:23 +01:00
Petr Písař d0978d513a Fix a heap use after free when moving a stack 2018-02-06 14:14:18 +01:00
Petr Písař b6f638978c Fix parsing braced subscript after parentheses 2018-02-06 13:34:41 +01:00
Petr Písař 43a7eb2791 Correct shell bangs in tests
Again we cannot do it in prep because the tests would execute perl
from the system during check phase.
2018-02-01 09:22:09 +01:00
Petr Písař b96bb0d875 Link XS modules to pthread library to fix linking with -z defs
This changes lddlflags. Maybe we should change ExtUtils::CBuilder etc.
instead as we do in Link-XS-modules-to-libperl.so patches to link to
libperl.so explictly.
2018-01-30 08:03:58 +01:00
Petr Písař 06e71ce390 Move guard_old_libcrypt_fix patch 2018-01-29 16:53:11 +01:00
Björn Esser 6ce0d0b76e
Add patch to conditionalize a fix for an old and long fixed bug
in libcrypt / glibc (rhbz#1536752)
2018-01-20 20:47:44 +01:00
Petr Písař 794e8e0c66 Rebuild against glibc without nsl library
Perl opportunistically links against nsl library because some
platforms provide gethostbyname() in it. This is not the case of GNU
libc. Yet the "-lnsl" gets into $Config{perllibs} and
ExtUtils::Embed enforces it. This breaks with glibc-2.26.9000-40 that
removed the library.

Simple rebuild against the new glibc fixes it.
2018-01-15 16:55:26 +01:00
Petr Písař 6a620bdc9d Avoid undefined behavior when copying memory in Glob and pp_caller (RT#131746) 2018-01-10 14:07:13 +01:00
Petr Písař ef39cf486c Expand system() arguments before a fork 2018-01-10 14:07:13 +01:00
Petr Písař 4440ffe366 Fix tainting of s/// with overloaded replacement 2018-01-10 14:07:13 +01:00
Petr Písař f9337f705b Fix setting $! when statting a closed filehandle 2018-01-10 14:07:10 +01:00
Petr Písař acce317536 Fix stack manipulation when a lexical subroutine is defined in a do block in as a member of an iteration list 2018-01-10 14:06:28 +01:00
Petr Písař 04fb749292 Fix error reporting on do() on a directory 2018-01-10 14:03:42 +01:00
Petr Písař 1a6038ddc1 Fix deparsing of transliterations with unprintable characters 2018-01-09 15:54:15 +01:00
Petr Písař 304000db79 Fix a crash when untying an object witout a stash 2018-01-09 15:46:55 +01:00
Petr Písař 1f7cdc64d9 Fix an overflow when parsing a character range with no preceding character 2018-01-09 15:35:16 +01:00
Petr Písař 0f64d90212 Fix walking symbol table for ISA in Carp 2018-01-09 15:03:45 +01:00
Petr Písař 948d6b9daf Fix an overflow when parsing a character range with no preceding character 2018-01-09 14:56:47 +01:00
Petr Písař f46fc910fa Fix a crash when a match for inversely repeated group fails 2018-01-09 13:56:59 +01:00
Petr Písař bc8f6a5d83 Fix Term::ReadLine not to create spurious &STDERR files 2018-01-09 13:38:07 +01:00
Petr Písař 88dd9e56b3 Fix an overflow in the lexer when reading a new line 2018-01-09 13:22:15 +01:00
Petr Písař fca4148414 Remove invalid macro definitions from macros.perl
From: Panu Matilainen <pmatilai@redhat.com>

These two lines are trying to redefine macro named "global", which is
obviously wrong, but additionally the thing they're *trying* to do is also
wrong in rpm >= 4.9 world, so best just remove them.
2018-01-09 12:52:29 +01:00
Jitka Plesnikova 927bf01f13 Change version of JSON-PP to not beat dual-life package 2017-10-04 16:54:58 +02:00
Jitka Plesnikova e0341ff757 Update perl(:MODULE_COMPAT) 2017-09-25 16:05:10 +02:00
Jitka Plesnikova b9ca5b6ecc 5.26.1 bump 2017-09-25 13:01:39 +02:00
Petr Písař 5fbdf1697c Do not require $Config{libs} providers by perl-devel package
This reverts:

commit f2346c8746
Author: Petr Písař <ppisar@redhat.com>
Date:   Thu Jun 6 16:17:26 2013 +0200

    Require $Config{libs} providers

$Config{libs} and $Config{perlibs} documents how perl was built. Not how
another XS modules should be built
<https://www.nntp.perl.org/group/perl.perl5.porters/2017/08/msg245959.html>.
2017-08-22 10:01:03 +02:00
Petr Písař 2510e877e6 Fix unreliable Time-HiRes tests 2017-08-22 09:54:15 +02:00
Petr Písař b2681c6578 Link libresolv.patch to a bug report 2017-08-17 08:07:10 +02:00
Petr Písař 724df1cb5a Fix GCC version detection for -D_FORTIFY_SOURCE override 2017-08-09 16:18:34 +02:00
Petr Písař 0721cd5f0e Fix compiler warnings in code generated by ExtUtils::Constant 2017-08-09 16:10:08 +02:00
Petr Písař a0ea65ae26 Fix splitting non-ASCII strings if unicode_strings feature is enabled 2017-08-09 15:23:51 +02:00
Petr Písař 2d9a38d99f Fix handling attribute specification on our variables 2017-08-09 14:39:31 +02:00
Petr Písař f5d76e71ba Fix executing arybase::_tie_it() in Safe compartement 2017-08-09 14:24:13 +02:00
Petr Písař 5530822d05 Provide perl(:WITH_64BIT)
We build perl with 64-bit integeres since 5.26.0. This provide can be
used as a dependency for this feature. Some packages (e.g. perl-Mango)
require this feature.
2017-08-09 13:55:58 +02:00
Petr Písař b8bcb94470 Fix error message for "our sub foo::bar" 2017-08-09 13:52:25 +02:00
Petr Písař 30fdce8a32 Fix select called with a repeated magical variable 2017-08-09 13:44:53 +02:00
Petr Písař efc8e989ed Do not display too many bytes when reporting malformed UTF-8 character 2017-08-09 13:30:33 +02:00
Petr Písař a501e07f4e Parse caret variables with subscripts as normal variables inside ${...} escaping 2017-08-08 15:57:20 +02:00
Petr Písař fdecf9dd4a Fix t/op/hash.t test random failures 2017-08-08 15:55:16 +02:00
Petr Písař 4a2738185b Fix File::Glob rt131211.t test random failures 2017-08-08 15:38:04 +02:00