openbsd-ports/devel/mico/patches/patch-idl_codegen_h
espie 379f54390a make it build with gcc3.
Mostly work from Aleksander Piotrowski
2004-09-26 12:11:00 +00:00

24 lines
581 B
Plaintext

$OpenBSD: patch-idl_codegen_h,v 1.1 2004/09/26 12:11:00 espie Exp $
--- idl/codegen.h.orig Sun Sep 2 20:23:03 2001
+++ idl/codegen.h Sun Aug 15 19:36:49 2004
@@ -23,8 +23,8 @@
#ifndef __CODEGEN_H__
#define __CODEGEN_H__
-#include <iostream.h>
-#include <strstream.h>
+#include <iostream>
+#include <sstream>
#include <CORBA.h>
#include <mico/template_impl.h>
@@ -60,7 +60,7 @@ private:
int _current_indent;
bool _bofl; // Beginning of line
// changed for Cygnus CDK
- ostrstream *_ostr;
+ ostringstream *_ostr;
void checkBofL();
public: