summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/kdenetwork/kdenetwork-3.5.10-wformat.patch
diff options
context:
space:
mode:
authorTim Williams <tmw@autotrain.org>2011-10-17 18:47:27 +0100
committerTim Williams <tmw@autotrain.org>2011-10-17 18:47:27 +0100
commit76ef832ce5348d12a871223d4c034c7daeaddb82 (patch)
tree7024a1f39a6114daa8c5ed24bb31a8687c832b9a /mandriva/2010.2/kdenetwork/kdenetwork-3.5.10-wformat.patch
parentec2515f058c60d2478a549f58376db628ba556b9 (diff)
downloadtde-packaging-76ef832ce5348d12a871223d4c034c7daeaddb82.tar.gz
tde-packaging-76ef832ce5348d12a871223d4c034c7daeaddb82.zip
Adding the remaining Mandriva patches and spec files
Diffstat (limited to 'mandriva/2010.2/kdenetwork/kdenetwork-3.5.10-wformat.patch')
-rw-r--r--mandriva/2010.2/kdenetwork/kdenetwork-3.5.10-wformat.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/mandriva/2010.2/kdenetwork/kdenetwork-3.5.10-wformat.patch b/mandriva/2010.2/kdenetwork/kdenetwork-3.5.10-wformat.patch
new file mode 100644
index 000000000..a71d30713
--- /dev/null
+++ b/mandriva/2010.2/kdenetwork/kdenetwork-3.5.10-wformat.patch
@@ -0,0 +1,31 @@
+--- kopete/plugins/statistics/sqlite/shell.c.orig 2009-04-02 20:04:41.000000000 +0200
++++ kopete/plugins/statistics/sqlite/shell.c 2009-04-02 20:29:12.000000000 +0200
+@@ -356,7 +356,7 @@
+ output_c_string(p->out, z);
+ }
+ if( bSep ){
+- fprintf(p->out, p->separator);
++ fprintf(p->out, "%s", p->separator);
+ }
+ }
+
+@@ -1005,7 +1005,7 @@
+ }else
+
+ if( c=='h' && strncmp(azArg[0], "help", n)==0 ){
+- fprintf(stderr,zHelp);
++ fprintf(stderr, "%s", zHelp);
+ }else
+
+ if( c=='i' && strncmp(azArg[0], "import", n)==0 && nArg>=3 ){
+--- kopete/plugins/statistics/sqlite/vdbe.c.orig 2009-04-02 20:30:39.000000000 +0200
++++ kopete/plugins/statistics/sqlite/vdbe.c 2009-04-02 20:31:02.000000000 +0200
+@@ -361,7 +361,7 @@
+ }
+ }
+ zBuf[k++] = ']';
+- k += sprintf(&zBuf[k], encnames[pMem->enc]);
++ k += sprintf(&zBuf[k], "%s", encnames[pMem->enc]);
+ zBuf[k++] = 0;
+ }
+ }