2017-08-27 16:21:35 +01:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, enableSigbusFix ? false # required by kernels < 3.18.6
|
|
|
|
}:
|
2009-08-10 06:20:14 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libsigsegv-2.5";
|
2014-11-19 18:53:56 +00:00
|
|
|
|
2009-08-10 06:20:14 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/libsigsegv/${name}.tar.gz";
|
|
|
|
sha256 = "0fvcsq9msi63vrbpvks6mqkrnls5cfy6bzww063sqhk2h49vsyyg";
|
|
|
|
};
|
|
|
|
|
2017-08-27 16:21:35 +01:00
|
|
|
patches = stdenv.lib.optional enableSigbusFix ./sigbus_fix.patch;
|
|
|
|
|
2009-08-10 06:20:14 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://libsigsegv.sf.net;
|
|
|
|
description = "A library for handling page faults in user mode";
|
2014-11-19 18:53:56 +00:00
|
|
|
branch = "2.5";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-08-10 06:20:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
}
|