summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_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/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch
parent7336aed1c1722594a8e8ead94d7d1fec8e578743 (diff)
downloadtde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.tar.gz
tde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.zip
MGA2/MDV2012: add some applications ...
Diffstat (limited to 'redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch')
-rw-r--r--redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch b/redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch
new file mode 100644
index 000000000..de445db7f
--- /dev/null
+++ b/redhat/applications/kbarcode/kbarcode-3.5.13-fix_remaining_string_literal.patch
@@ -0,0 +1,32 @@
+commit b8dc3f5795c618c3617302973fff7d7bbf0ead2d
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1336099921 -0500
+
+ Fix remaining string format errors
+
+diff --git a/kbarcode/pixmapbarcode.cpp b/kbarcode/pixmapbarcode.cpp
+index 02cb19b..4768b3e 100644
+--- a/kbarcode/pixmapbarcode.cpp
++++ b/kbarcode/pixmapbarcode.cpp
+@@ -178,7 +178,7 @@ bool PixmapBarcode::createPixmap( TQPixmap* target, int resx, int resy )
+ cmd += input->name();
+ cmd += " -sNOPAUSE -q - -c showpage quit";
+
+- qDebug("cmd: " + cmd );
++ qDebug("cmd: %s", cmd.ascii() );
+ gs_pipe = popen( cmd.latin1(), "w" );
+ if( !gs_pipe )
+ {
+diff --git a/kbarcode/tbarcode2.cpp b/kbarcode/tbarcode2.cpp
+index 8490f7c..95cc64f 100644
+--- a/kbarcode/tbarcode2.cpp
++++ b/kbarcode/tbarcode2.cpp
+@@ -122,7 +122,7 @@ bool TBarcode2::createPostscript( char** postscript, long* postscript_size )
+ tbarcode->height(),
+ tbarcode->checksum() );
+
+- qDebug( "Cmd = " + cmd );
++ qDebug( "Cmd = %s", cmd.ascii() );
+ if( !readFromPipe( cmd.latin1(), postscript, postscript_size ) )
+ return false;
+