summaryrefslogtreecommitdiff
path: root/audio/amarok
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
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
Notes
Notes: svn path=/head/; revision=173103
Diffstat (limited to 'audio/amarok')
-rw-r--r--audio/amarok/Makefile1
-rw-r--r--audio/amarok/files/patch-amarok_src_playlist.cpp13
2 files changed, 14 insertions, 0 deletions
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 << "</playlist>\n";
+
+ QTextStream fstream( &file );
++ fstream.setEncoding( QTextStream::UnicodeUTF8 );
+ fstream << buffer;
+ }
+