From 1a717e00ad1909de1af21d2151a00ec13c531b75 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Wed, 14 Sep 2005 16:50:07 +0000 Subject: Fix build on 4-STABLE. PR: ports/86115 Submitted by: KATO Tsuguru Approved by: Maintainer --- .../files/patch-lib-utf8-utf8util.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp (limited to 'audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp') 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) + { -- cgit v1.2.3