plotutils: regenerate debian patch url's, apply few more
don't include the format-security patch, because it breaks a test: https://bugs.gentoo.org/618708
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, libpng }:
|
||||
{ fetchurl, stdenv, libpng, autoreconfHook }:
|
||||
|
||||
# debian splits this package into plotutils and libplot2c2
|
||||
|
||||
@@ -13,14 +13,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ libpng ];
|
||||
|
||||
# disable failing test on i686
|
||||
# https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html
|
||||
prePatch = stdenv.lib.optionalString stdenv.isi686 ''
|
||||
substituteInPlace test/Makefile.in --replace 'spline.test' ' '
|
||||
'';
|
||||
|
||||
patches = map fetchurl (import ./debian-patches.nix);
|
||||
|
||||
configureFlags = "--enable-libplotter"; # required for pstoedit
|
||||
@@ -29,6 +23,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Powerful C/C++ library for exporting 2D vector graphics";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user