ddd/ddd-3.3.12-gcc-4.4.patch

28 lines
1.0 KiB
Diff

# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../ddd/gcc44.patch
# Copyright (C) 2010 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
diff -Nur ddd-3.3.12-orig/ddd/strclass.C ddd-3.3.12/ddd/strclass.C
--- ddd-3.3.12-orig/ddd/strclass.C 2010-05-11 11:41:11.404406436 +0000
+++ ddd-3.3.12/ddd/strclass.C 2010-05-11 11:42:01.802908366 +0000
@@ -38,6 +38,7 @@
#include <ctype.h>
#include <limits.h>
#include <new>
+#include <cstdio>
#include <stdlib.h>
void string::error(const char* msg) const