summaryrefslogtreecommitdiffstats
path: root/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
commit23921d42c670b601f623ddf441bdddde446ddefc (patch)
tree6bb9ba394ed8bb782f68c4b651b84f20b189b4df /redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch
parent7336aed1c1722594a8e8ead94d7d1fec8e578743 (diff)
downloadtde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.tar.gz
tde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.zip
MGA2/MDV2012: add some applications ...
Diffstat (limited to 'redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch')
-rw-r--r--redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch b/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch
new file mode 100644
index 000000000..db4c99a63
--- /dev/null
+++ b/redhat/applications/k9copy/k9copy-3.5.13-fix_format_not_string_literal.patch
@@ -0,0 +1,53 @@
+commit 3bfc84b0fc3558c377e2f5a99548a6903a9ee7c3
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1336066302 -0500
+
+ Fix 'format not a string literal' error
+ Clean up warning
+
+diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp
+index e6f6675..9f95352 100644
+--- a/libk9copy/k9burndvd.cpp
++++ b/libk9copy/k9burndvd.cpp
+@@ -112,7 +112,7 @@ void k9BurnDVD::mkisoSizeStdout(KProcess *proc, char *buffer, int buflen) {
+ ;
+ }
+
+-const TQString &k9BurnDVD::getImageSize() {
++const TQString k9BurnDVD::getImageSize() {
+ TQString c;
+ c="mkisofs";
+ proc2=new k9Process;
+@@ -215,8 +215,8 @@ void k9BurnDVD::burnWithGenisoimage() {
+ if ( KMessageBox::warningContinueCancel ( 0,i18n("Insert a recordable DVD"), i18n("DVD burning"))!=KMessageBox::Continue)
+ cancelled=true;
+ }
+- qDebug(proc->debug());
+- }
++ qDebug("%s", proc->debug());
++ }
+
+
+ if (!cancelled) {
+@@ -239,7 +239,7 @@ void k9BurnDVD::burnWithGenisoimage() {
+ }
+ }
+ }
+- }
++ }
+ }
+ }
+
+diff --git a/libk9copy/k9burndvd.h b/libk9copy/k9burndvd.h
+index fc2edce..94e1e71 100644
+--- a/libk9copy/k9burndvd.h
++++ b/libk9copy/k9burndvd.h
+@@ -71,7 +71,7 @@ private:
+ void getWodimCmd(k9Process *proc);
+
+ void burnWithK3b();
+- const TQString &getImageSize();
++ const TQString getImageSize();
+ TQString imageSize;
+ TQString m_speed;
+ private slots: // Private slots