diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-09-14 16:50:07 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-09-14 16:50:07 +0000 |
commit | 1a717e00ad1909de1af21d2151a00ec13c531b75 (patch) | |
tree | 6fffee0099316dd62a9d755afdc4e0d816d09f85 /audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp | |
parent | Install documentation using ${INSTALL_DATA} rather than ${CP} to ensure that (diff) |
Fix build on 4-STABLE.
PR: ports/86115
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Approved by: Maintainer
Notes
Notes:
svn path=/head/; revision=142724
Diffstat (limited to 'audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp')
-rw-r--r-- | audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp b/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp new file mode 100644 index 000000000000..a3a5cabb78e8 --- /dev/null +++ b/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp @@ -0,0 +1,20 @@ +--- lib/utf8/utf8util.cpp.orig Mon Jul 11 05:01:23 2005 ++++ lib/utf8/utf8util.cpp Wed Sep 14 17:19:42 2005 +@@ -38,7 +38,7 @@ + char *dest; + string to; + +- to.clear(); ++ to = ""; + ret = utf8_encode(from.c_str(), &dest); + if (ret >= 0) + { +@@ -54,7 +54,7 @@ + char *dest; + string to; + +- to.clear(); ++ to = ""; + ret = utf8_decode(from.c_str(), &dest); + if (ret >= 0) + { |