perlPackages: fix i686-linux

This commit is contained in:
volth 2019-10-22 14:53:18 +00:00
parent 4ca7e3d75f
commit 86c8c5681a

View file

@ -701,6 +701,7 @@ let
url = mirror://cpan/authors/id/Z/ZE/ZEFRAM/Authen-DecHpwd-2.007.tar.gz;
sha256 = "f43a93bb02b41f7327d92f9e963b69505f67350a52e8f50796f98afc4fb3f177";
};
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
propagatedBuildInputs = [ DataInteger DigestCRC ScalarString ];
meta = {
description = "DEC VMS password hashing";
@ -3377,6 +3378,7 @@ let
sha256 = "3cc7126d5841107237a9be2dc5c7fbc167cf3c4b4ce34678a8448b850757014c";
};
propagatedBuildInputs = [ ClassMix ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
};
CryptIDEA = buildPerlPackage {
@ -3466,6 +3468,7 @@ let
sha256 = "93ebdfaaefcfe9ab683f0121c85f24475d8197f0bcec46018219e4111434dde3";
};
propagatedBuildInputs = [ DigestSHA1 ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
};
CryptRijndael = buildPerlPackage {
@ -3641,6 +3644,7 @@ let
url = mirror://cpan/authors/id/G/GT/GTERMARS/CSS-Minifier-XS-0.09.tar.gz;
sha256 = "1myswrmh0sqp5xjpp03x45z8arfmgkjx0srl3r6kjsyzl1zrk9l8";
};
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
meta = {
description = "XS based CSS minifier";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
@ -4110,6 +4114,7 @@ let
sha256 = "1x662pqjg9p0wcigi7pwf969b2ymk66ncm2vd5dfm5i08pdkjpf3";
};
buildInputs = [ HashUtilFieldHashCompat ModuleBuildXSUtil ScopeGuard TestException ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
meta = {
description = "A selection of utilities for data and data types";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
@ -6877,6 +6882,7 @@ let
sha256 = "a02fbf285406a8a4d9399284f032f2d55c56975154c2e1674bd109837b8096ec";
};
buildInputs = [ ExtUtilsCChecker ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
meta = {
description = "Modify attributes of symlinks without dereferencing them";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
@ -8079,6 +8085,7 @@ let
sha256 = "b1cbac4157ad8dedac6914e1628855e05b8dc885a4007d2e4df8177c6a9b70fb";
};
buildInputs = [ ModuleBuildPluggablePPPort TestRequires ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
meta = {
homepage = https://github.com/tokuhirom/HTML-Escape;
description = "Extremely fast HTML escaping";
@ -8509,6 +8516,7 @@ let
url = mirror://cpan/authors/id/M/MA/MARKSMITH/HTTP-HeaderParser-XS-0.20.tar.gz;
sha256 = "1vs6sw431nnlnbdy6jii9vqlz30ndlfwdpdgm8a1m6fqngzhzq59";
};
meta.broken = stdenv.isi686; # loadable library and perl binaries are mismatched (got handshake key 0x7d40080, needed 0x7dc0080)
};
HTTPHeadersFast = buildPerlModule {
@ -9312,6 +9320,7 @@ let
url = mirror://cpan/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-0.11.tar.gz;
sha256 = "1vlyhckpjbrg2v4dy9szsxxl0q44n0y1xl763mg2y2ym9g5144hm";
};
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
meta = {
description = "XS based JavaScript minifier";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
@ -9814,6 +9823,7 @@ let
};
buildInputs = [ TestException ];
propagatedBuildInputs = [ SubExporter ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
meta = {
description = "Linux specific special filehandles";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
@ -10777,6 +10787,7 @@ let
meta = {
description = "Manipulate 128 bits integers in Perl";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
broken = stdenv.is32bit; # compiler doesn't support a 128-bit integer type
};
};
@ -12693,6 +12704,7 @@ let
url = mirror://cpan/authors/id/N/NJ/NJH/MusicBrainz-DiscID-0.03.tar.gz;
sha256 = "0fjph2q3yp0aa87gckv3391s47m13wbyylj7jb7vqx7hv0pzj0jh";
};
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
# Build.PL in this package uses which to find pkg-config -- make it use path instead
patchPhase = ''sed -ie 's/`which pkg-config`/"pkg-config"/' Build.PL'';
doCheck = false; # The main test performs network access
@ -13703,6 +13715,7 @@ let
url = mirror://cpan/authors/id/Z/ZE/ZEFRAM/Params-Classify-0.015.tar.gz;
sha256 = "052r198xyrsv8wz21gijdigz2cgnidsa37nvyfzdiz4rv1fc33ir";
};
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
};
ParamsUtil = buildPerlPackage {
@ -16525,6 +16538,7 @@ let
};
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pkgs.libvirt CPANChanges TestPod TestPodCoverage XMLXPath ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
};
TAPParserSourceHandlerpgTAP = buildPerlModule {
@ -19383,6 +19397,7 @@ let
url = mirror://cpan/authors/id/A/AR/ARODLAND/Unicode-CaseFold-1.01.tar.gz;
sha256 = "418a212808f9d0b8bb330ac905096d2dd364976753d4c71534dab9836a63194d";
};
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
meta = {
description = "Unicode case-folding for case-insensitive lookups";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];