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

svn path=/nixpkgs/trunk/; revision=20161
This commit is contained in:
Lluís Batlle i Rossell 2010-02-22 08:08:29 +00:00
parent 75e0d28624
commit ead553d9e5
2 changed files with 15 additions and 2 deletions

View File

@ -1,13 +1,15 @@
{stdenv, fetchurl, lesstif, ncurses, libX11, libXt}:
stdenv.mkDerivation rec {
name = "ddd-3.3.11";
name = "ddd-3.3.12";
src = fetchurl {
url = "mirror://gnu/ddd/${name}.tar.gz";
sha256 = "a555d76e1d4d5fa092b190ffb99cdde8880131c063e4b53435df3a022ed4d3da";
sha256 = "0p5nx387857w3v2jbgvps2p6mlm0chajcdw5sfrddcglsxkwvmis";
};
buildInputs = [lesstif ncurses libX11 libXt];
configureFlags = "--with-x";
patches = [ ./gcc44.patch ];
meta = {
homepage = http://www.gnu.org/software/ddd;
description = "Graphical front-end for command-line debuggers";

View File

@ -0,0 +1,11 @@
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868
--- a/ddd/strclass.C~ 2008-11-07 17:57:13.000000000 +0000
+++ b/ddd/strclass.C 2008-11-07 17:57:27.000000000 +0000
@@ -39,6 +39,7 @@
#include <ctype.h>
#include <limits.h>
#include <new>
+#include <cstdio>
#include <stdlib.h>
void string::error(const char* msg) const