gap: 4.11.0 -> 4.11.1

+4 -35
+4 -22
pkgs/applications/science/math/gap/default.nix
··· 1 { stdenv 2 , lib 3 , fetchurl 4 - , fetchpatch 5 , makeWrapper 6 , readline 7 , gmp ··· 35 "autpgrp-*" 36 "alnuth-*" 37 "crisp-*" 38 - "ctbllib" 39 "FactInt-*" 40 "fga" 41 "irredsol-*" ··· 62 stdenv.mkDerivation rec { 63 pname = "gap"; 64 # https://www.gap-system.org/Releases/ 65 - version = "4.11.0"; 66 67 src = fetchurl { 68 - url = "https://files.gap-system.org/gap-${lib.versions.major version}.${lib.versions.minor version}/tar.bz2/gap-${version}.tar.bz2"; 69 - sha256 = "sha256-vwcKENwqxgWT/mXfD4c9ctTWdQHobrJipva9SPyGhgI="; 70 }; 71 72 # remove all non-essential packages (which take up a lot of space) ··· 82 83 nativeBuildInputs = [ 84 makeWrapper 85 - ]; 86 - 87 - patches = [ 88 - # Fix for locale specific tests causing issues. Already upstream. 89 - # Backport of https://github.com/gap-system/gap/pull/4022 90 - (fetchpatch { 91 - name = "remove-locale-specific-tests.patch"; 92 - url = "https://github.com/gap-system/gap/commit/c18b0c4215b5212a2cc4f305e2d5b94ba716bee8.patch"; 93 - sha256 = "sha256-De+T9Y7ewRT6plJrj2VR8axRvD/JCTYKOBWB7Bw0oq0="; 94 - }) 95 - 96 - # fixes aarch64 gc crashes: https://github.com/gap-system/gap/pull/3965 97 - (fetchpatch { 98 - name = "mark-genstackfuncbags-as-noinline.patch"; 99 - url = "https://github.com/gap-system/gap/commit/f0a8f49ff8dad0a5fa77253d45457c6f40f96778.patch"; 100 - sha256 = "sha256-GU9tOP1stX2vn8m8kXOBupEpxIYArA76ibKL8eLn0MY="; 101 - }) 102 ]; 103 104 # "teststandard" is a superset of testinstall. It takes ~1h instead of ~1min.
··· 1 { stdenv 2 , lib 3 , fetchurl 4 , makeWrapper 5 , readline 6 , gmp ··· 34 "autpgrp-*" 35 "alnuth-*" 36 "crisp-*" 37 + "ctbllib-*" 38 "FactInt-*" 39 "fga" 40 "irredsol-*" ··· 61 stdenv.mkDerivation rec { 62 pname = "gap"; 63 # https://www.gap-system.org/Releases/ 64 + version = "4.11.1"; 65 66 src = fetchurl { 67 + url = "https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz"; 68 + sha256 = "sha256-ZjXF2n2CdV+DOUhrnKwzdm9YcS8pfoI0+6QIGJAuowQ="; 69 }; 70 71 # remove all non-essential packages (which take up a lot of space) ··· 81 82 nativeBuildInputs = [ 83 makeWrapper 84 ]; 85 86 # "teststandard" is a superset of testinstall. It takes ~1h instead of ~1min.
-13
pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch
··· 1 - diff --git a/src/gasman.c b/src/gasman.c 2 - index 417811401..314a74190 100644 3 - --- a/src/gasman.c 4 - +++ b/src/gasman.c 5 - @@ -1861,7 +1861,7 @@ void SparcStackFuncBags( void ) 6 - #endif 7 - 8 - 9 - -void GenStackFuncBags ( void ) 10 - +NOINLINE void GenStackFuncBags ( void ) 11 - { 12 - Bag * top; /* top of stack */ 13 - Bag * p; /* loop variable */
···