rpms/sblim-wbemcli/EL-5 sblim-wbemcli-1.5.1-gcc43.patch, NONE, 1.1 sblim-wbemcli-1.6.0-consts.patch, NONE, 1.1

vcrhonek vcrhonek at fedoraproject.org
Mon Oct 12 12:31:54 UTC 2009


Author: vcrhonek

Update of /cvs/extras/rpms/sblim-wbemcli/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6684

Added Files:
	sblim-wbemcli-1.5.1-gcc43.patch 
	sblim-wbemcli-1.6.0-consts.patch 
Log Message:
Add patches

sblim-wbemcli-1.5.1-gcc43.patch:
 CimXml.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE sblim-wbemcli-1.5.1-gcc43.patch ---
diff -up sblim-wbemcli-1.5.1/CimXml.h.BAD sblim-wbemcli-1.5.1/CimXml.h
--- sblim-wbemcli-1.5.1/CimXml.h.BAD	2008-06-20 10:10:54.000000000 -0500
+++ sblim-wbemcli-1.5.1/CimXml.h	2008-06-20 10:11:07.000000000 -0500
@@ -26,7 +26,7 @@
 
 #include <cstdio>
 #include <cstdlib>
-#include <string>
+#include <cstring>
 #include <vector>
 #include <iostream>
 

sblim-wbemcli-1.6.0-consts.patch:
 CimXml.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE sblim-wbemcli-1.6.0-consts.patch ---
diff -ru sblim-wbemcli-1.6.0.orig/CimXml.cpp sblim-wbemcli-1.6.0/CimXml.cpp
--- sblim-wbemcli-1.6.0.orig/CimXml.cpp	2009-02-28 13:36:46.000000000 +0000
+++ sblim-wbemcli-1.6.0/CimXml.cpp	2009-02-28 13:45:39.000000000 +0000
@@ -1933,7 +1933,7 @@
       if (av) {
 	 int i,s;
 	 string urlstr;
-	 char *p,*q;
+	 const char *p,*q;
 
 	 // create full wbemcli URL
 	 p=strchr(av->val.c_str(),'/');
@@ -2155,7 +2155,7 @@
 {
   int i, k;
   string urlstr;
-  char *p, *q;
+  const char *p, *q;
   
   xb += "<VALUE.REFERENCE>";
 
@@ -3177,7 +3177,7 @@
       case 0:
          sb = sb + "<KEYBINDING NAME=\"" + p.name + "\">";
          if (p.pType==TypePropertyRef) {
-            char *u, *nsp;
+            const char *u, *nsp;
             const char *cnp;
             StringArray lns;
             string cn;




More information about the fedora-extras-commits mailing list