Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
armagetron
armagetron-missing_includes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File armagetron-missing_includes.patch of Package armagetron
--- src/network/md5.cpp +++ src/network/md5.cpp @@ -78,6 +78,8 @@ #include <string> #include <memory> +#include <cstring> +using std::memcpy; #ifdef TEST /* --- src/network/nAuthentification.cpp +++ src/network/nAuthentification.cpp @@ -35,6 +35,8 @@ #include <memory> #include <string> +#include <cstring> +using std::memset; static nAuthentification::UserPasswordCallback* S_UserPasswordCallback = NULL; static nAuthentification::LoginResultCallback* S_LoginResultCallback = NULL; --- src/network/nConfig.cpp +++ src/network/nConfig.cpp @@ -25,6 +25,9 @@ */ +#include <cstring> +using std::strncmp; + #include "nConfig.h" #include "tConsole.h" --- src/network/nKrawall.cpp +++ src/network/nKrawall.cpp @@ -32,6 +32,9 @@ */ +#include <cstring> +using std::strncmp; + #include "nKrawall.h" #include "nNetwork.h" #include "nServerInfo.h" --- src/network/nServerInfo.cpp +++ src/network/nServerInfo.cpp @@ -42,6 +42,9 @@ #include "nNet.h" #include <fstream> +#include <cstring> + +using std::strncmp; static nServerInfo* sn_FirstServer = NULL; static sn_ServerInfoCreator* sn_Creator = NULL; --- src/network/net_udp.cpp +++ src/network/net_udp.cpp @@ -25,6 +25,13 @@ #include <string> #include <stdio.h> +#include <cstring> + +using std::strcmp; +using std::strrchr; +using std::strcpy; +using std::strncpy; +using std::memset; #include <sys/types.h> --- src/render/rFont.cpp +++ src/render/rFont.cpp @@ -29,6 +29,8 @@ #include "rScreen.h" #include "tConfiguration.h" #include <ctype.h> +#include <cstring> +using std::strlen; #ifndef DEDICATED #include "rRender.h" --- src/render/rModel.cpp +++ src/render/rModel.cpp @@ -27,6 +27,11 @@ #include <string> #include <fstream> +#include <cstring> + +using std::strstr; +using std::strcmp; + #include <stdlib.h> #include "rScreen.h" #include "rModel.h" --- src/tools/tArray.cpp +++ src/tools/tArray.cpp @@ -31,6 +31,9 @@ #include <iostream> #include <stdlib.h> #include <string> +#include <cstring> +using std::memcpy; + #include "tArray.h" void GrowingArrayBase::ComplainIfFull(){ --- src/tools/tConfiguration.cpp +++ src/tools/tConfiguration.cpp @@ -30,6 +30,7 @@ #include <iostream> #include "tConfiguration.h" #include <stdlib.h> +#include <string.h> #include <ctype.h> #include <string> #include "tString.h" --- src/tools/tCrypt.cpp +++ src/tools/tCrypt.cpp @@ -29,6 +29,8 @@ #include "tMemManager.h" #include <string> +#include <cstring> +using std::memcpy; class tCryptDummy: public tCrypt { --- src/tools/tDirectories.cpp +++ src/tools/tDirectories.cpp @@ -39,6 +39,7 @@ #include <dirent.h> #include <sys/types.h> #include <sys/stat.h> +#include <string.h> #ifdef WIN32 #define _stat stat #endif --- src/tools/tError.cpp +++ src/tools/tError.cpp @@ -26,6 +26,7 @@ */ #include <iostream> +#include <stdlib.h> #ifndef WIN32 #include <unistd.h> #endif --- src/tools/tLocale.cpp +++ src/tools/tLocale.cpp @@ -32,6 +32,8 @@ #include <fstream> #include <string> +#include <cstring> +using std::strlen; class tLocaleSubItem; // identifies a single string in a single language --- src/tools/tString.cpp +++ src/tools/tString.cpp @@ -31,7 +31,8 @@ #include <ctype.h> #include <string> #include <iostream> - +#include <cstring> +using std::strcmp; tString::tString(){ operator[](0)='\0';
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