summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-09-22 21:59:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-09-22 21:59:07 +0000
commit78a44b84366c810121ff34f403ad7aaf3b8dbed0 (patch)
tree6072d9693d36a65ab7ea1572c7a45595f9a525b4 /games-strategy/scorched3d/files
parentStable for HPPA (bug #284574). (diff)
downloadhistorical-78a44b84366c810121ff34f403ad7aaf3b8dbed0.tar.gz
historical-78a44b84366c810121ff34f403ad7aaf3b8dbed0.tar.bz2
historical-78a44b84366c810121ff34f403ad7aaf3b8dbed0.zip
Add patch from Bob Johnson to enable build with x11-libs/wxGTK[odbc] (bug #285384)
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-strategy/scorched3d/files')
-rw-r--r--games-strategy/scorched3d/files/scorched3d-42.1-odbc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/games-strategy/scorched3d/files/scorched3d-42.1-odbc.patch b/games-strategy/scorched3d/files/scorched3d-42.1-odbc.patch
new file mode 100644
index 000000000000..355755e7cdb0
--- /dev/null
+++ b/games-strategy/scorched3d/files/scorched3d-42.1-odbc.patch
@@ -0,0 +1,17 @@
+When x11-libs/wxGTK is built with the odbc use flag, scorched3d fails to build.
+bug #285384 - patch from Bob Johnson
+
+diff -urN scorched/src/common/porting/windows.h fix_scorched/src/common/porting/windows.h
+--- scorched/src/common/porting/windows.h 2009-09-21 10:21:16.000000000 -0700
++++ fix_scorched/src/common/porting/windows.h 2009-09-21 10:39:02.000000000 -0700
+@@ -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;