diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-15 03:08:32 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-15 03:08:32 +0000 |
commit | 0f4482c148c60efe6a25f5d0e336ba926eeeaf9f (patch) | |
tree | 39e184b43ed2a86b25f45f0bffb91b22cc240d86 /textproc/isearch/files/patch-src::string.cxx | |
parent | Make port fetching again, mark as broken under <5.0 due to wprintf() (diff) |
Make textproc/isearch compile on -current again.
PR: ports/46264
Submitted by: Kuang-che Wu <kcwu@kcwu.dyndns.org>
Diffstat (limited to 'textproc/isearch/files/patch-src::string.cxx')
-rw-r--r-- | textproc/isearch/files/patch-src::string.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/isearch/files/patch-src::string.cxx b/textproc/isearch/files/patch-src::string.cxx new file mode 100644 index 000000000000..784a3ac9cc14 --- /dev/null +++ b/textproc/isearch/files/patch-src::string.cxx @@ -0,0 +1,11 @@ +--- src/string.cxx.orig Sun Dec 15 09:27:00 2002 ++++ src/string.cxx Sun Dec 15 09:27:20 2002 +@@ -574,7 +574,7 @@ + + // can this be const STRING& ? + ostream& operator<<(ostream& os, const STRING& str) { +- os.write(str.Buffer, str.Length); ++ os.write((char*)str.Buffer, str.Length); + return os; + } + |