aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kdemultimedia4
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-06-15 00:20:45 +0800
committerlofi <lofi@FreeBSD.org>2004-06-15 00:20:45 +0800
commit919f38145bd844891a37e78540cbd68abdefdc94 (patch)
tree0f13b87a29afdda808e0a27863d6b77b69083315 /multimedia/kdemultimedia4
parentcd47730e5e7202d081ed88cb0f85fcea4560ba88 (diff)
downloadfreebsd-ports-gnome-919f38145bd844891a37e78540cbd68abdefdc94.tar.gz
freebsd-ports-gnome-919f38145bd844891a37e78540cbd68abdefdc94.tar.zst
freebsd-ports-gnome-919f38145bd844891a37e78540cbd68abdefdc94.zip
Bugfixes for JuK.
Obtained from: KDE CVS
Diffstat (limited to 'multimedia/kdemultimedia4')
-rw-r--r--multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp21
-rw-r--r--multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp17
2 files changed, 38 insertions, 0 deletions
diff --git a/multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp b/multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp
new file mode 100644
index 000000000000..e36a51a1e7f8
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-juk-filerenamer.cpp
@@ -0,0 +1,21 @@
+Index: juk/filerenamer.cpp
+===================================================================
+RCS file: /home/kde/kdemultimedia/juk/filerenamer.cpp,v
+retrieving revision 1.23
+retrieving revision 1.23.2.2
+diff -u -3 -p -u -r1.23 -r1.23.2.2
+--- juk/filerenamer.cpp 2 Nov 2003 00:23:01 -0000 1.23
++++ juk/filerenamer.cpp 6 Jun 2004 13:47:57 -0000 1.23.2.2
+@@ -138,8 +138,11 @@ QString FileRenamer::expandToken(TokenTy
+ value.replace(QDir::separator(), "");
+ }
+
++ if((type == Track) && needValue && (value.toUInt() == 0))
++ return QString::null;
++
+ if((needValue) && value.isEmpty())
+- return QString();
++ return QString::null;
+
+ token.replace("%s", value);
+ return token;
diff --git a/multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp b/multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp
new file mode 100644
index 000000000000..2d123ffc1279
--- /dev/null
+++ b/multimedia/kdemultimedia4/files/patch-juk-tageditor.cpp
@@ -0,0 +1,17 @@
+Index: juk/tageditor.cpp
+===================================================================
+RCS file: /home/kde/kdemultimedia/juk/tageditor.cpp,v
+retrieving revision 1.44.2.4
+retrieving revision 1.44.2.5
+diff -u -3 -p -u -r1.44.2.4 -r1.44.2.5
+--- juk/tageditor.cpp 14 Apr 2004 22:31:08 -0000 1.44.2.4
++++ juk/tageditor.cpp 14 Jun 2004 11:18:37 -0000 1.44.2.5
+@@ -50,7 +50,7 @@ public:
+
+ virtual State validate(QString &s, int &) const
+ {
+- if(s.find('/' != -1))
++ if(s.find('/') != -1)
+ return Invalid;
+ return Acceptable;
+ }