summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-05-29 17:28:58 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2018-05-29 10:28:58 -0500
commit064ae1e6e080f450c58bacfa2fe4dbbfe34cdcff (patch)
tree39bc7a95c7412bb16b12d4184c0cce20e813f8e4
parent8af37d5d645913d086ec151835fb02274291bcb5 (diff)
downloadspack-064ae1e6e080f450c58bacfa2fe4dbbfe34cdcff.tar.gz
spack-064ae1e6e080f450c58bacfa2fe4dbbfe34cdcff.tar.bz2
spack-064ae1e6e080f450c58bacfa2fe4dbbfe34cdcff.tar.xz
spack-064ae1e6e080f450c58bacfa2fe4dbbfe34cdcff.zip
perl: Fix build on Fedora 28 (#8305)
-rw-r--r--var/spack/repos/builtin/packages/perl/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl/package.py b/var/spack/repos/builtin/packages/perl/package.py
index ebfa514ce2..2cacb5a03c 100644
--- a/var/spack/repos/builtin/packages/perl/package.py
+++ b/var/spack/repos/builtin/packages/perl/package.py
@@ -76,6 +76,10 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
# https://rt.perl.org/Public/Bug/Display.html?id=126468
patch('protect-quotes-in-ccflags.patch', when='@5.22.0')
+ # Fix build on Fedora 28
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1536752
+ patch('https://src.fedoraproject.org/rpms/perl/raw/004cea3a67df42e92ffdf4e9ac36d47a3c6a05a4/f/perl-5.26.1-guard_old_libcrypt_fix.patch', level=1, sha256='0eac10ed90aeb0459ad8851f88081d439a4e41978e586ec743069e8b059370ac')
+
# Installing cpanm alongside the core makes it safe and simple for
# people/projects to install their own sets of perl modules. Not
# having it in core increases the "energy of activation" for doing