From 34f012a1b17f976225fa71f65df7c7d036527ae0 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Tue, 17 Aug 2004 05:13:43 +0000 Subject: Fix build. Pointed out by kris --- textproc/source-highlight/files/patch-ad | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 textproc/source-highlight/files/patch-ad (limited to 'textproc/source-highlight/files') diff --git a/textproc/source-highlight/files/patch-ad b/textproc/source-highlight/files/patch-ad new file mode 100644 index 000000000000..6794fa658c13 --- /dev/null +++ b/textproc/source-highlight/files/patch-ad @@ -0,0 +1,11 @@ +--- src/lib/fileutil.cc.orig Tue Aug 17 13:11:13 2004 ++++ src/lib/fileutil.cc Tue Aug 17 13:11:41 2004 +@@ -41,7 +41,7 @@ + // 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 -- cgit v1.2.3