summaryrefslogtreecommitdiff
path: root/textproc/word2x/files/patch-reader.cc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-02 19:07:21 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-02 19:07:21 +0000
commitb07f78a5a0bd887500cf1ad3b7c0453e4c1b3467 (patch)
treece9ea10d8d7e4366a2b345792d203605392574c4 /textproc/word2x/files/patch-reader.cc
parent- Update to version 1.9.13 (diff)
- Fix build on -current
PR: ports/65090 Submitted by: Ports Fury
Diffstat (limited to 'textproc/word2x/files/patch-reader.cc')
-rw-r--r--textproc/word2x/files/patch-reader.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/word2x/files/patch-reader.cc b/textproc/word2x/files/patch-reader.cc
new file mode 100644
index 000000000000..a739c2a0c15d
--- /dev/null
+++ b/textproc/word2x/files/patch-reader.cc
@@ -0,0 +1,21 @@
+--- reader.cc.orig Thu Oct 8 03:12:09 1998
++++ reader.cc Wed Mar 31 21:00:36 2004
+@@ -18,7 +18,8 @@
+ #endif /* HAVE_ALLOCA_H */
+ #endif /* __GNUC__ */
+
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+ #include <stdio.h>
+ #ifdef HAVE_STRING_H
+ #include <string.h>
+@@ -40,7 +41,7 @@
+ /* Please be aware that the junk should be stripped from in */
+ static int read_character(istream *in)
+ {
+- unsigned char c,d;
++ char c,d;
+ static int s_ch=-1;
+
+ if (s_ch==-1)