summaryrefslogtreecommitdiff
path: root/audio/amarok-kde4
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2006-09-15 10:11:50 +0000
committerMichael Landin <mich@FreeBSD.org>2006-09-15 10:11:50 +0000
commit40b9d65050368c16f55e53d2aad5960f27bece14 (patch)
treebd796d8989f99c68f91c695b15b3fc64c9097112 /audio/amarok-kde4
parentChange my e-mail address to the @FreeBSD.org one. (diff)
- Fix playlist encoding problem. This bug could also result in failure
to restore the current playlist. - Bump PORTREVISION Obtained from: Amarok dev team
Diffstat (limited to 'audio/amarok-kde4')
-rw-r--r--audio/amarok-kde4/Makefile1
-rw-r--r--audio/amarok-kde4/files/patch-amarok_src_playlist.cpp13
2 files changed, 14 insertions, 0 deletions
diff --git a/audio/amarok-kde4/Makefile b/audio/amarok-kde4/Makefile
index 422e9fcb49c5..c6a8f241448b 100644
--- a/audio/amarok-kde4/Makefile
+++ b/audio/amarok-kde4/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-kde4/files/patch-amarok_src_playlist.cpp b/audio/amarok-kde4/files/patch-amarok_src_playlist.cpp
new file mode 100644
index 000000000000..eb1139a37507
--- /dev/null
+++ b/audio/amarok-kde4/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 << "</playlist>\n";
+
+ QTextStream fstream( &file );
++ fstream.setEncoding( QTextStream::UnicodeUTF8 );
+ fstream << buffer;
+ }
+