git.iko.soy/typeable/nixpkgs
on master help sign in
asymptote: apply upstream patch for compatibility with a newer boehmgc

As referenced in https://github.com/NixOS/nixpkgs/pull/45708#issuecomment-427840944

commitfe8515de6e8ac33b94917869c668e55a8617eef8 authorMichael Raskin <7c6f434c@mail.ru> dateMon 8 Oct 2018, 21:37 (8 years ago) parent21a2150
2 files changed+10−2
pkgs/tools/graphics/asymptote/default.nix+10−1 pkgs/top-level/all-packages.nix−1
pkgs/tools/graphics/asymptote/default.nix+10−1
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl
1+{stdenv, fetchurl, fetchpatch
22 , freeglut, ghostscriptX, imagemagick, fftw
33 , boehmgc, libGLU, libGL, mesa_noglu, ncurses, readline, gsl, libsigsegv
44 , python, zlib, perl, texLive, texinfo, xz
@@ -33,6 +33,15 @@ stdenv.mkDerivation {
3333 inherit (s) url sha256;
3434 };
3535
36+ patches = [
37+ # Remove when updating from 2.47 to 2.48
38+ # Compatibility with BoehmGC 7.6.8
39+ (fetchpatch {
40+ url = "https://github.com/vectorgraphics/asymptote/commit/38a59370dc5ac720c29e1424614a10f7384b943f.patch";
41+ sha256 = "0c3d11hzxxaqh24kfw9y8zvlid54kk40rx2zajx7jwl12gga05s1";
42+ })
43+ ];
44+
3645 preConfigure = ''
3746 export HOME="$PWD"
3847 patchShebangs .
pkgs/top-level/all-packages.nix−1
@@ -569,7 +569,6 @@ with pkgs;
569569 asymptote = callPackage ../tools/graphics/asymptote {
570570 texLive = texlive.combine { inherit (texlive) scheme-small epsf cm-super; };
571571 gsl = gsl_1;
572− boehmgc = boehmgc_766;
573572 };
574573
575574 atomicparsley = callPackage ../tools/video/atomicparsley { };