lol

Updating ddd, and adding a small patch for it to compile with gcc 4.4

svn path=/nixpkgs/trunk/; revision=20161

+15 -2
+4 -2
pkgs/development/tools/misc/ddd/default.nix
··· 1 1 {stdenv, fetchurl, lesstif, ncurses, libX11, libXt}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "ddd-3.3.11"; 4 + name = "ddd-3.3.12"; 5 5 src = fetchurl { 6 6 url = "mirror://gnu/ddd/${name}.tar.gz"; 7 - sha256 = "a555d76e1d4d5fa092b190ffb99cdde8880131c063e4b53435df3a022ed4d3da"; 7 + sha256 = "0p5nx387857w3v2jbgvps2p6mlm0chajcdw5sfrddcglsxkwvmis"; 8 8 }; 9 9 buildInputs = [lesstif ncurses libX11 libXt]; 10 10 configureFlags = "--with-x"; 11 + 12 + patches = [ ./gcc44.patch ]; 11 13 meta = { 12 14 homepage = http://www.gnu.org/software/ddd; 13 15 description = "Graphical front-end for command-line debuggers";
+11
pkgs/development/tools/misc/ddd/gcc44.patch
··· 1 + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868 2 + --- a/ddd/strclass.C~ 2008-11-07 17:57:13.000000000 +0000 3 + +++ b/ddd/strclass.C 2008-11-07 17:57:27.000000000 +0000 4 + @@ -39,6 +39,7 @@ 5 + #include <ctype.h> 6 + #include <limits.h> 7 + #include <new> 8 + +#include <cstdio> 9 + #include <stdlib.h> 10 + 11 + void string::error(const char* msg) const