Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182442 Details for
Bug 259406
Games-strategy/scorched3d-42 fails to build with gcc 4.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc43 and HWND patching for scorched3d-42
scorched3d-42-gentoo-isnt-win32.patch (text/plain), 3.88 KB, created by
Arttu Valo
on 2009-02-18 18:54:42 UTC
(
hide
)
Description:
gcc43 and HWND patching for scorched3d-42
Filename:
MIME Type:
Creator:
Arttu Valo
Created:
2009-02-18 18:54:42 UTC
Size:
3.88 KB
patch
obsolete
>diff -ur scorched.old/src/client/console/ConsoleImpl.cpp scorched/src/client/console/ConsoleImpl.cpp >--- scorched.old/src/client/console/ConsoleImpl.cpp 2009-02-18 20:06:23.000000000 +0200 >+++ scorched/src/client/console/ConsoleImpl.cpp 2009-02-18 20:39:23.000000000 +0200 >@@ -26,6 +26,7 @@ > #include <GLEXT/GLViewPort.h> > #include <GLW/GLWFont.h> > #include <GLW/GLWToolTip.h> >+#include <climits> > > ConsoleImpl::ConsoleImpl() : > GameStateI("Console"), >diff -ur scorched.old/src/common/common/DefinesFile.cpp scorched/src/common/common/DefinesFile.cpp >--- scorched.old/src/common/common/DefinesFile.cpp 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/common/DefinesFile.cpp 2009-02-18 20:07:58.000000000 +0200 >@@ -24,6 +24,7 @@ > #include <common/DefinesFile.h> > #include <sys/types.h> > #include <sys/stat.h> >+#include <cstring> > > #pragma warning(disable : 4996) > >diff -ur scorched.old/src/common/common/LoggerI.cpp scorched/src/common/common/LoggerI.cpp >--- scorched.old/src/common/common/LoggerI.cpp 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/common/LoggerI.cpp 2009-02-18 20:14:55.000000000 +0200 >@@ -20,6 +20,7 @@ > > #include <common/LoggerI.h> > #include <time.h> >+#include <cstring> > > LoggerInfo::LoggerInfo( > const std::string &message, >diff -ur scorched.old/src/common/common/main.h scorched/src/common/common/main.h >--- scorched.old/src/common/common/main.h 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/common/main.h 2009-02-18 20:07:18.000000000 +0200 >@@ -40,7 +40,7 @@ > void _no_storage() > { > printf("Failed to allocate memory!!"); >- std::exit(1); >+ exit(1); > } > > void run_main(int argc, char *argv[], OptionsParameters ¶ms) >diff -ur scorched.old/src/common/common/sha2.h scorched/src/common/common/sha2.h >--- scorched.old/src/common/common/sha2.h 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/common/sha2.h 2009-02-18 20:24:57.000000000 +0200 >@@ -46,6 +46,7 @@ > > #include <string> > #include <stdexcept> >+#include <cstring> > > // NOTE: You may need to define things by hand for your system: > typedef unsigned char sha_byte; // Exactly 1 byte >diff -ur scorched.old/src/common/landscapemap/HeightMapModifier.cpp scorched/src/common/landscapemap/HeightMapModifier.cpp >--- scorched.old/src/common/landscapemap/HeightMapModifier.cpp 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/landscapemap/HeightMapModifier.cpp 2009-02-18 20:28:50.000000000 +0200 >@@ -26,6 +26,7 @@ > #include <image/ImageBitmap.h> > #include <image/ImageFactory.h> > #include <lang/LangResource.h> >+#include <climits> > > void HeightMapModifier::levelSurround(HeightMap &hmap) > { >diff -ur scorched.old/src/common/lang/LangParam.cpp scorched/src/common/lang/LangParam.cpp >--- scorched.old/src/common/lang/LangParam.cpp 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/lang/LangParam.cpp 2009-02-18 20:22:06.000000000 +0200 >@@ -20,6 +20,7 @@ > > #include <lang/LangParam.h> > #include <common/DefinesString.h> >+#include <cstdlib> > > LangParam::LangParam(const LangStringConverter &convValue) > { >diff -ur scorched.old/src/common/lang/ResourceBundle.h scorched/src/common/lang/ResourceBundle.h >--- scorched.old/src/common/lang/ResourceBundle.h 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/lang/ResourceBundle.h 2009-02-18 20:20:12.000000000 +0200 >@@ -23,6 +23,7 @@ > > #include <set> > #include <lang/ResourceBundleEntry.h> >+#include <cstring> > > class ResourceBundle > { >diff -ur scorched.old/src/common/porting/windows.h scorched/src/common/porting/windows.h >--- scorched.old/src/common/porting/windows.h 2009-02-18 20:06:22.000000000 +0200 >+++ scorched/src/common/porting/windows.h 2009-02-18 20:06:46.000000000 +0200 >@@ -20,7 +20,7 @@ > typedef unsigned short WORD; > typedef unsigned char BYTE; > >-typedef int HWND; >+// typedef int HWND; > typedef void * HINSTANCE; > typedef int WPARAM; > typedef int LPARAM;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259406
: 182442