nixpkgs/pkgs/development/tools/misc/ddd/gcc44.patch
Lluís Batlle i Rossell ead553d9e5 Updating ddd, and adding a small patch for it to compile with gcc 4.4
svn path=/nixpkgs/trunk/; revision=20161
2010-02-22 08:08:29 +00:00

12 lines
332 B
Diff

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