aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kdemultimedia4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-06-14 16:20:45 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-06-14 16:20:45 +0000
commitca2b2307b526d52c8e5e662cab82c5f4b025c27b (patch)
treecca6a0b8d4394008299f85b42088a158a1f9484e /multimedia/kdemultimedia4
parentcbc526b06ad483c98e0f427310696d5b1b04b31a (diff)
downloadports-ca2b2307b526d52c8e5e662cab82c5f4b025c27b.tar.gz
ports-ca2b2307b526d52c8e5e662cab82c5f4b025c27b.zip
Notes
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;
+ }