mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
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:
parent
75e0d28624
commit
ead553d9e5
@ -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";
|
||||
|
11
pkgs/development/tools/misc/ddd/gcc44.patch
Normal file
11
pkgs/development/tools/misc/ddd/gcc44.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user