diff options
Diffstat (limited to 'games-strategy/scorched3d/files/scorched3d-44-odbc.patch')
-rw-r--r-- | games-strategy/scorched3d/files/scorched3d-44-odbc.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/games-strategy/scorched3d/files/scorched3d-44-odbc.patch b/games-strategy/scorched3d/files/scorched3d-44-odbc.patch new file mode 100644 index 00000000000..e7f3833bf89 --- /dev/null +++ b/games-strategy/scorched3d/files/scorched3d-44-odbc.patch @@ -0,0 +1,16 @@ +When x11-libs/wxGTK is built with the odbc use flag, scorched3d fails to build. +bug #285384 - patch from Bob Johnson + +--- scorched/src/common/porting/windows.h ++++ fix_scorched/src/common/porting/windows.h +@@ -11,8 +11,8 @@ +
+ typedef char * LPSTR;
+ typedef const char * LPCTSTR;
+-typedef unsigned int DWORD;
+-typedef unsigned int * LPDWORD;
++typedef unsigned long DWORD;
++typedef DWORD * LPDWORD;
+ typedef unsigned char * LPBYTE;
+ typedef int INT;
+ typedef long LONG;
|