From c057c4a7778b8d6d9a7ec40137e48b6d2d6be616 Mon Sep 17 00:00:00 2001 From: mich Date: Fri, 15 Sep 2006 10:11:50 +0000 Subject: - Fix playlist encoding problem. This bug could also result in failure to restore the current playlist. - Bump PORTREVISION Obtained from: Amarok dev team --- audio/amarok/Makefile | 1 + audio/amarok/files/patch-amarok_src_playlist.cpp | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 audio/amarok/files/patch-amarok_src_playlist.cpp (limited to 'audio/amarok') diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile index 422e9fcb49c5..c6a8f241448b 100644 --- a/audio/amarok/Makefile +++ b/audio/amarok/Makefile @@ -6,6 +6,7 @@ PORTNAME= amarok PORTVERSION= 1.4.3 +PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src diff --git a/audio/amarok/files/patch-amarok_src_playlist.cpp b/audio/amarok/files/patch-amarok_src_playlist.cpp new file mode 100644 index 000000000000..eb1139a37507 --- /dev/null +++ b/audio/amarok/files/patch-amarok_src_playlist.cpp @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- amarok/src/playlist.cpp.orig ++++ amarok/src/playlist.cpp +@@ -3168,6 +3168,7 @@ + stream << "\n"; + + QTextStream fstream( &file ); ++ fstream.setEncoding( QTextStream::UnicodeUTF8 ); + fstream << buffer; + } + -- cgit