pari: backport bug fix

https://trac.sagemath.org/ticket/29313#comment:4
This commit is contained in:
Timo Kaufmann 2020-03-11 12:23:46 +01:00
parent c2524362eb
commit c4ab541443

View file

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchurl , fetchurl
, fetchpatch
, gmp , gmp
, readline , readline
, libX11 , libX11
@ -19,6 +20,15 @@ stdenv.mkDerivation rec {
sha256 = "1jd65h2psrmba2dx7rkf5qidf9ka0cwbsg20pd18k45ggr30l467"; sha256 = "1jd65h2psrmba2dx7rkf5qidf9ka0cwbsg20pd18k45ggr30l467";
}; };
patches = [
# https://trac.sagemath.org/ticket/29313#comment:1
(fetchpatch {
name = "backport-bug-fix.patch";
url = "https://git.archlinux.org/svntogit/community.git/plain/repos/community-x86_64/c7a1d35f.patch?h=packages/pari&id=27893d227290dc3821d68aa25877d9765c204dad";
sha256 = "0vm0fwyzj66cr32imip6srksd47s2s2sjl1rb26ph8gpfi3nalii";
})
];
buildInputs = [ buildInputs = [
gmp gmp
readline readline