aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2004-08-17 13:13:43 +0800
committerkevlo <kevlo@FreeBSD.org>2004-08-17 13:13:43 +0800
commitd8ee31e98d54ba6c5b5c50a1cbfb061c185350ae (patch)
tree9ecefa7c2a44cabd4fd35c2c6fa1079091f76486
parent121b6c0b38a40c233ae0e80e8c6fd0953f5b7216 (diff)
downloadfreebsd-ports-gnome-d8ee31e98d54ba6c5b5c50a1cbfb061c185350ae.tar.gz
freebsd-ports-gnome-d8ee31e98d54ba6c5b5c50a1cbfb061c185350ae.tar.zst
freebsd-ports-gnome-d8ee31e98d54ba6c5b5c50a1cbfb061c185350ae.zip
Fix build. Pointed out by kris
-rw-r--r--textproc/source-highlight/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
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