]> git.pld-linux.org Git - packages/ddd.git/commitdiff
- fix for building with gcc3
authorfilon <filon@sokrates.mimuw.edu.pl>
Sun, 31 Mar 2002 07:10:41 +0000 (07:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ddd-gcc3.patch -> 1.1

ddd-gcc3.patch [new file with mode: 0644]

diff --git a/ddd-gcc3.patch b/ddd-gcc3.patch
new file mode 100644 (file)
index 0000000..1d45a93
--- /dev/null
@@ -0,0 +1,30 @@
+--- ddd-3.3.1/ddd/strclass.C.gcc       Fri Mar 30 14:31:46 2001
++++ ddd-3.3.1/ddd/strclass.C   Fri Feb 22 11:25:30 2002
+@@ -1431,7 +1431,7 @@
+     }
+     x.rep->s[i] = 0;
+     x.rep->len = i;
+-#if HAVE_IOSTATE
++#if defined(__GNUC__) && __GNUC__ >= 3
+     ios::iostate new_state = s.rdstate();
+ #else
+     int new_state = s.rdstate();
+--- ddd-3.3.1/ddd/logplayer.C.gcc      Thu Apr 26 13:08:07 2001
++++ ddd-3.3.1/ddd/logplayer.C  Fri Feb 22 11:33:18 2002
+@@ -33,6 +33,8 @@
+ #pragma implementation
+ #endif
++#include <fstream.h>
++      
+ #include "logplayer.h"
+ #include "assert.h"
+@@ -43,7 +45,6 @@
+ #include "streampos.h"
+ #include <iostream.h>
+-#include <fstream.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>
This page took 0.033463 seconds and 4 git commands to generate.