summaryrefslogtreecommitdiff
path: root/cad/simian/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'cad/simian/patches/patch-af')
-rw-r--r--cad/simian/patches/patch-af24
1 files changed, 24 insertions, 0 deletions
diff --git a/cad/simian/patches/patch-af b/cad/simian/patches/patch-af
new file mode 100644
index 00000000000..56644e6f965
--- /dev/null
+++ b/cad/simian/patches/patch-af
@@ -0,0 +1,24 @@
+$NetBSD: patch-af,v 1.1 2005/03/21 17:35:53 dmcmahill Exp $
+
+--- surfer1.cc.orig 1998-12-10 10:10:46.000000000 +0000
++++ surfer1.cc
+@@ -2,8 +2,8 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+-#include <iostream.h>
+-#include <fstream.h>
++#include <iostream>
++#include <fstream>
+ #include "weeks.h"
+ #include "linklist.h"
+ #include "nonuni.h"
+@@ -19,7 +19,7 @@ Filament* surfer(Conductor* cc,Filament*
+ double dum;
+ l=0; u=0;
+ if ((cc->lp==0)&&(sis->pc!=0)) {
+- fstream plate("plate",ios::in);
++ std::fstream plate("plate",std::ios::in);
+ char *ss;
+ ss=new char[100];
+ do {