Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:wbem
omc-clp
gcc4.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc4.patch of Package omc-clp
diff -wruN -x '*~' ../orig-omcclp-0.5/src/clpaddrgram/clpaddrparser.yy ./src/clpaddrgram/clpaddrparser.yy --- ../orig-omcclp-0.5/src/clpaddrgram/clpaddrparser.yy 2006-08-23 18:28:43.000000000 +0200 +++ ./src/clpaddrgram/clpaddrparser.yy 2010-09-28 15:06:14.000000000 +0200 @@ -621,6 +621,7 @@ int yyerror (char *msg) { // printf("%s at '%s'\n", msg, addrgram_text); + return 0; } void* addrgram__set_scan_string( const char *yy_str ) diff -wruN -x '*~' ../orig-omcclp-0.5/src/clpcmdgram/clpcmdparser.yy ./src/clpcmdgram/clpcmdparser.yy --- ../orig-omcclp-0.5/src/clpcmdgram/clpcmdparser.yy 2006-08-30 21:37:46.000000000 +0200 +++ ./src/clpcmdgram/clpcmdparser.yy 2010-09-28 15:18:24.000000000 +0200 @@ -478,6 +478,7 @@ omcclpCmd->getCmdStatusRef()->setProcessingError (COMMAND_SYNTAX_ERROR); omcclpCmd->getCmdStatusRef()->getMessageData()->setMessageID(-1); omcclpCmd->getCmdStatusRef()->getMessageData()->setMessage(txtmsg); + return 0; } void cg_add_element (void *omcclpCommand, char *element) diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdalias.cpp ./src/omcclpcmdalias.cpp --- ../orig-omcclp-0.5/src/omcclpcmdalias.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmdalias.cpp 2010-09-28 15:15:43.000000000 +0200 @@ -170,6 +170,7 @@ cout << "</alias>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdcreate.cpp ./src/omcclpcmdcreate.cpp --- ../orig-omcclp-0.5/src/omcclpcmdcreate.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmdcreate.cpp 2010-09-28 15:16:01.000000000 +0200 @@ -237,6 +237,7 @@ cout << "</create>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmddelete.cpp ./src/omcclpcmddelete.cpp --- ../orig-omcclp-0.5/src/omcclpcmddelete.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmddelete.cpp 2010-09-28 15:16:11.000000000 +0200 @@ -277,6 +277,7 @@ cout << "</delete>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmddump.cpp ./src/omcclpcmddump.cpp --- ../orig-omcclp-0.5/src/omcclpcmddump.cpp 2006-05-23 17:21:54.000000000 +0200 +++ ./src/omcclpcmddump.cpp 2010-09-28 15:16:18.000000000 +0200 @@ -94,6 +94,7 @@ cout << "</dump>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdhelp.cpp ./src/omcclpcmdhelp.cpp --- ../orig-omcclp-0.5/src/omcclpcmdhelp.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmdhelp.cpp 2010-09-28 15:16:30.000000000 +0200 @@ -118,6 +118,7 @@ cout << "</help>" << endl; cout << "</response>" << endl; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdload.cpp ./src/omcclpcmdload.cpp --- ../orig-omcclp-0.5/src/omcclpcmdload.cpp 2006-05-23 17:21:54.000000000 +0200 +++ ./src/omcclpcmdload.cpp 2010-09-28 15:16:36.000000000 +0200 @@ -94,6 +94,7 @@ cout << "</load>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdreset.cpp ./src/omcclpcmdreset.cpp --- ../orig-omcclp-0.5/src/omcclpcmdreset.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmdreset.cpp 2010-09-28 15:16:45.000000000 +0200 @@ -175,6 +175,7 @@ cout << "</reset>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdset.cpp ./src/omcclpcmdset.cpp --- ../orig-omcclp-0.5/src/omcclpcmdset.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmdset.cpp 2010-09-28 15:16:54.000000000 +0200 @@ -351,6 +351,7 @@ cout << "</set>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdstart.cpp ./src/omcclpcmdstart.cpp --- ../orig-omcclp-0.5/src/omcclpcmdstart.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmdstart.cpp 2010-09-28 15:17:05.000000000 +0200 @@ -175,6 +175,7 @@ cout << "</start>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcmdstop.cpp ./src/omcclpcmdstop.cpp --- ../orig-omcclp-0.5/src/omcclpcmdstop.cpp 2006-06-14 19:52:46.000000000 +0200 +++ ./src/omcclpcmdstop.cpp 2010-09-28 15:17:11.000000000 +0200 @@ -178,6 +178,7 @@ cout << "</stop>\n"; cout << "</response>\n"; } + return true; } } diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpcommon.cpp ./src/omcclpcommon.cpp --- ../orig-omcclp-0.5/src/omcclpcommon.cpp 2006-08-23 18:28:44.000000000 +0200 +++ ./src/omcclpcommon.cpp 2010-09-15 21:40:20.000000000 +0200 @@ -28,7 +28,7 @@ #include "omcclpconf.h" #include "omcclpcache.h" #include "omcclp.h" - +#include <algorithm> #include <openwbem/OW_Enumeration.hpp> #include <openwbem/OW_CIMProperty.hpp> #include <openwbem/OW_CIMClass.hpp> diff -wruN -x '*~' ../orig-omcclp-0.5/src/omcclpd.cpp ./src/omcclpd.cpp --- ../orig-omcclp-0.5/src/omcclpd.cpp 2006-09-06 23:26:44.000000000 +0200 +++ ./src/omcclpd.cpp 2010-09-16 16:15:24.000000000 +0200 @@ -35,6 +35,7 @@ #include <signal.h> #include <unistd.h> #include <sys/types.h> +#include <sys/stat.h> #include <pwd.h> #include <grp.h> #include <fcntl.h> diff -wruN -x '*~' ../orig-omcclp-0.5/src/stlini.cpp ./src/stlini.cpp --- ../orig-omcclp-0.5/src/stlini.cpp 2006-08-23 18:28:44.000000000 +0200 +++ ./src/stlini.cpp 2010-09-15 21:45:06.000000000 +0200 @@ -190,7 +190,7 @@ } else //no absolute path specified, so load it from same dir as 'filename' { - char *temp2 = strrchr(filename, '/'); + const char *temp2 = strrchr(filename, '/'); if (temp2) { strncpy(incfile, filename, (size_t)(temp2-filename+1)); diff -wruN -x '*~' ../orig-omcclp-0.5/src/stlini.h ./src/stlini.h --- ../orig-omcclp-0.5/src/stlini.h 2006-08-23 18:28:44.000000000 +0200 +++ ./src/stlini.h 2010-09-15 21:43:48.000000000 +0200 @@ -3,6 +3,7 @@ #include <map> #include <string> +#include <cstring> // change this if you expect to have huge lines in your INI files... // note that this is the max size of a single line, NOT the max number of lines
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor