lcalc: apply c++11 patch

This commit is contained in:
Timo Kaufmann 2018-07-29 23:01:10 +02:00
parent fa34f6d41c
commit e550e5d0c7
2 changed files with 18 additions and 0 deletions

View File

@ -110,6 +110,12 @@ stdenv.mkDerivation rec {
name = "pari-2.11.0.patch";
url = "https://git.sagemath.org/sage.git/patch/?id=7af4748cab37d651eaa88be501db88f4a5ffc584";
sha256 = "13f740ly3c19gcmhjngiycvmc3mcfj61y00i6jv0wmfgpm2z3ank";
# ntl upgrade
(fetchpatch {
name = "lcalc-c++11.patch";
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/sagemath-lcalc-c++11.patch?h=packages/sagemath&id=0e31ae526ab7c6b5c0bfacb3f8b1c4fd490035aa";
sha256 = "0p5wnvbx65i7cp0bjyaqgp4rly8xgnk12pqwaq3dqby0j2bk6ijb";
})
];

View File

@ -57,6 +57,18 @@ stdenv.mkDerivation rec {
# based on gentoos makefile patch -- fix paths, adhere to flags
./makefile.patch
# (fetchpatch {
# name = "default-double.patch";
# url = "https://github.com/dimpase/lcalc/pull/1/commits/0500c67b6aa1f492715591669f6647c8f7a3ea59.patch";
# sha256 = "0dqwmxpm9wb53qbypsyfkgsvk2f8nf67sydphd4dkc2vw4yz6vla";
# })
(fetchpatch {
name = "c++11.patch";
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/lcalc-c++11.patch?h=packages/lcalc&id=3607b97df5a8c231191115b0cb5c62426b339e71";
sha256 = "1ccrl61lv2vvx8ggldq54m5d0n1iy6mym7qz0i8nj6yj0dshnpk3";
})
];
installFlags = [