2006-11-14 16:55:57 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-08-08 01:27:38 +02:00
|
|
|
name = "aterm-2.4.2-fixes-r2";
|
2009-01-27 18:46:07 +01:00
|
|
|
|
2006-11-14 16:55:57 +01:00
|
|
|
src = fetchurl {
|
2009-01-05 15:01:42 +01:00
|
|
|
url = http://nixos.org/tarballs/aterm-2.4.2-fixes-r2.tar.bz2;
|
2007-08-08 01:27:38 +02:00
|
|
|
sha256 = "1w3bxdpc2hz29li5ssmdcz3x0fn47r7g62ns0v8nazxwf40vff4j";
|
2006-11-14 16:55:57 +01:00
|
|
|
};
|
2009-01-27 18:46:07 +01:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Fix for http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841
|
|
|
|
./max-long.patch
|
|
|
|
];
|
2009-12-17 22:22:58 +01:00
|
|
|
|
|
|
|
# There are apparently still some aliasing bugs left in
|
|
|
|
# aterm-2.4.2-fixes-r2 (in AT_setAnnotations to be precise), but
|
|
|
|
# under my reading of the C standard it should be fine. Anyway, just
|
|
|
|
# disable strict aliasing.
|
|
|
|
NIX_CFLAGS_COMPILE = "-fno-strict-aliasing";
|
2009-01-27 18:46:07 +01:00
|
|
|
|
2008-02-21 00:02:41 +01:00
|
|
|
doCheck = true;
|
2009-01-27 18:46:07 +01:00
|
|
|
|
2006-11-14 16:55:57 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
|
|
|
|
license = "LGPL";
|
|
|
|
description = "Library for manipulation of term data structures in C";
|
|
|
|
};
|
|
|
|
}
|