diff options
Diffstat (limited to 'dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch')
-rw-r--r-- | dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch b/dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch new file mode 100644 index 000000000000..ca1d898ce5ab --- /dev/null +++ b/dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch @@ -0,0 +1,28 @@ +--- Sources/GL/opengl.cpp ++++ Sources/GL/opengl.cpp +@@ -51,6 +51,8 @@ + #endif + #endif + ++#include <cstring> ++ + std::vector<std::string> CL_OpenGL::m_ignored_gl_extension; + + CL_ProcAddress *CL_OpenGL::get_proc_address(const std::string& function_name) +@@ -414,4 +416,4 @@ + #endif + + m_ignored_gl_extension.push_back(extension_name); +-} +\ No newline at end of file ++} +--- Sources/Network/Socket/ip_address_getsock.cpp ++++ Sources/Network/Socket/ip_address_getsock.cpp +@@ -40,6 +40,7 @@ + #include "ip_address_getsock.h" + + #include <cstdlib> ++#include <cstring> + + #ifndef WIN32 + #include <sys/socket.h> |