summaryrefslogtreecommitdiff
path: root/textproc/source-highlight/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/source-highlight/patches/patch-ae')
-rw-r--r--textproc/source-highlight/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/source-highlight/patches/patch-ae b/textproc/source-highlight/patches/patch-ae
new file mode 100644
index 00000000000..3871b8a0fae
--- /dev/null
+++ b/textproc/source-highlight/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.3 2004/05/16 12:22:40 seb Exp $
+
+--- src/lib/fileutil.cc.orig 2004-04-19 10:59:24.000000000 +0000
++++ src/lib/fileutil.cc
+@@ -41,7 +41,7 @@ read_file(const string &fileName)
+ // we open it as binary otherwise we may experience problems under
+ // Windows system: when we fread, the number of char read can be
+ // less then char_count, and thus we'd get an error...
+- ifstream file (fileName.c_str (), ios_base::binary);
++ ifstream file (fileName.c_str (), ios::binary);
+ if (! file.is_open () )
+ file_error ("Error operning", fileName);
+ else