2006-11-14 15:55:57 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-08-08 00:27:38 +01:00
|
|
|
name = "aterm-2.4.2-fixes-r2";
|
2009-01-27 17:46:07 +00:00
|
|
|
|
2006-11-14 15:55:57 +00:00
|
|
|
src = fetchurl {
|
2009-01-05 14:01:42 +00:00
|
|
|
url = http://nixos.org/tarballs/aterm-2.4.2-fixes-r2.tar.bz2;
|
2007-08-08 00:27:38 +01:00
|
|
|
sha256 = "1w3bxdpc2hz29li5ssmdcz3x0fn47r7g62ns0v8nazxwf40vff4j";
|
2006-11-14 15:55:57 +00:00
|
|
|
};
|
2009-01-27 17:46:07 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Fix for http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841
|
|
|
|
./max-long.patch
|
|
|
|
];
|
2009-12-17 21:22:58 +00: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 17:46:07 +00:00
|
|
|
|
2008-02-20 23:02:41 +00:00
|
|
|
doCheck = true;
|
2009-01-27 17:46:07 +00:00
|
|
|
|
2006-11-14 15:55:57 +00: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";
|
|
|
|
};
|
|
|
|
}
|