diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-05-13 19:32:09 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-05-13 19:32:09 +0000 |
commit | 334989ae570ea1b560b3688f1acd1336803b0f70 (patch) | |
tree | 89a48fcc706620b948a31c157a82b825c9a00a7e /games-strategy/scorched3d | |
parent | Revision bump to support xorg-server-1.12, bug #412757, refresh xorg-server-1... (diff) | |
download | historical-334989ae570ea1b560b3688f1acd1336803b0f70.tar.gz historical-334989ae570ea1b560b3688f1acd1336803b0f70.tar.bz2 historical-334989ae570ea1b560b3688f1acd1336803b0f70.zip |
tidy
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'games-strategy/scorched3d')
14 files changed, 182 insertions, 59 deletions
diff --git a/games-strategy/scorched3d/ChangeLog b/games-strategy/scorched3d/ChangeLog index da93b7e1ac14..c17bef140518 100644 --- a/games-strategy/scorched3d/ChangeLog +++ b/games-strategy/scorched3d/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for games-strategy/scorched3d # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.83 2012/05/12 14:41:22 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.84 2012/05/13 19:32:09 mr_bones_ Exp $ + + 13 May 2012; Michael Sterrett <mr_bones_@gentoo.org> + +files/scorched3d-43.3d-gcc43.patch, +files/scorched3d-43.3d-odbc.patch, + +files/scorched3d-43.3d-png15.patch, +files/scorched3d-43.3d-win32.patch, + files/scorched3d-43.2a-fixups.patch, files/scorched3d-43.2a-gcc43.patch, + files/scorched3d-43.2a-odbc.patch, files/scorched3d-43.2a-png15.patch, + files/scorched3d-43.2a-win32.patch, files/scorched3d-43.3d-fixups.patch, + scorched3d-43.2a.ebuild, scorched3d-43.3d.ebuild: + tidy *scorched3d-43.3d (12 May 2012) diff --git a/games-strategy/scorched3d/Manifest b/games-strategy/scorched3d/Manifest index 4d1c867f2e87..47018624801f 100644 --- a/games-strategy/scorched3d/Manifest +++ b/games-strategy/scorched3d/Manifest @@ -1,22 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX scorched3d-43.2a-fixups.patch 1967 RMD160 d06d0c20c5e65907a680ba39ebbbc57ee14a25cb SHA1 d13d821bca8c342bf04d5de0f5925649890c18c4 SHA256 7487d6708bfe250925cd7b425e200e5f566920c4fbb0376e3a5922bd60828934 -AUX scorched3d-43.2a-gcc43.patch 875 RMD160 b52c37c3210c5ea0629f5f00283a4a63fa5c3561 SHA1 6be351b7b56206d8540c0938e06759cc6ee0c0e2 SHA256 f139415a4deca70dc0ad087ce6714359d4076df89228e7ea1e61aa100e0558c8 -AUX scorched3d-43.2a-odbc.patch 665 RMD160 00d9966808a9b61a45223cce0ba50116774f243e SHA1 71b0f9308e743dd1630977467c12b3caf89bb446 SHA256 27e8af602e38579f87b83bc67afc7c3fde012e058f73dab7b5e63f22752bb1be -AUX scorched3d-43.2a-png15.patch 2582 RMD160 7e93324f980fc7fa89021d6852c1073bdde465d4 SHA1 bdf57394119d81d7a84e14f9435de3c0cc482578 SHA256 654d3f1d55f514c7249215b6974c0d70777c9dbd7de6ef7ccbffd98cefcfa853 -AUX scorched3d-43.2a-win32.patch 625 RMD160 6170762627bb1094479eece1e07591e6e9703abf SHA1 9622d3d756999780da4385bd48a2cd12290d7aab SHA256 50c8cadae0476071f580983f8287e95ac15c45e865e4837b567493a97fcd4c5f -AUX scorched3d-43.3d-fixups.patch 828 RMD160 341a6d2995d4b3e88f7b0a79e4c038b699335917 SHA1 642cc5fb6597cf08d50fe02dbff6f76bf0627e56 SHA256 1096fa8a3acae7eaef2598d00972af136e01f057c8e30e7b6d29a9fe028706a6 +AUX scorched3d-43.2a-fixups.patch 1701 RMD160 a10ac7a58d2f2f8a39dd6904371bb203a2361a80 SHA1 dc816abd97238f1b97c06005c0bbf041b6d31287 SHA256 464552f2cd31f0f2447d7848ee1d412ce74f8b8d6f4bde67937561e8ce39b899 +AUX scorched3d-43.2a-gcc43.patch 561 RMD160 129ab9be137e0add7b14d1826a1e68680d572a55 SHA1 f08711e2bbf050e8e43e25aa396f13b964aa2e66 SHA256 7ee76b89705292ecd2ef55e416dd58a64d3bc5310bc369a26b5eb0ce469ba59e +AUX scorched3d-43.2a-odbc.patch 503 RMD160 35e1191c6476cd9c4654592f7cb370cdb671b410 SHA1 954a0ef432c00ab4b64f92bfe0ab5ce281d9c8b3 SHA256 56d5fa2e0b59e19b74248c3a0a081e7139476305dfbfc5c905abaa1de3681d15 +AUX scorched3d-43.2a-png15.patch 2438 RMD160 0e9856f5e3e6b007a7d608b23e611e95a3be3b75 SHA1 86f74beed58895a7336b55a9e497e5fef5508ed2 SHA256 104fec74e6617581444b73f4076e288773d7d7bf469221d0cf51dae09a61f53f +AUX scorched3d-43.2a-win32.patch 464 RMD160 a5f71400def2260c0bd296a6e02bc74ec26c0414 SHA1 5466cf241a6900d85ff8ceebeba79e14c6866880 SHA256 325ec09315a102ebb2290007c28fe263771991a5c82908a0ef084f1f6f209b1f +AUX scorched3d-43.3d-fixups.patch 698 RMD160 c08b5a954f000cea8dcc208f4b6c5a15d3c9bc50 SHA1 7d9cd652ee624b9ffe69832b00703ea443a0d445 SHA256 bbcfb87334913ff96db76aded98665203ddb44903c2846e03fbe2fed0b2b2429 +AUX scorched3d-43.3d-gcc43.patch 561 RMD160 129ab9be137e0add7b14d1826a1e68680d572a55 SHA1 f08711e2bbf050e8e43e25aa396f13b964aa2e66 SHA256 7ee76b89705292ecd2ef55e416dd58a64d3bc5310bc369a26b5eb0ce469ba59e +AUX scorched3d-43.3d-odbc.patch 503 RMD160 35e1191c6476cd9c4654592f7cb370cdb671b410 SHA1 954a0ef432c00ab4b64f92bfe0ab5ce281d9c8b3 SHA256 56d5fa2e0b59e19b74248c3a0a081e7139476305dfbfc5c905abaa1de3681d15 +AUX scorched3d-43.3d-png15.patch 2438 RMD160 0e9856f5e3e6b007a7d608b23e611e95a3be3b75 SHA1 86f74beed58895a7336b55a9e497e5fef5508ed2 SHA256 104fec74e6617581444b73f4076e288773d7d7bf469221d0cf51dae09a61f53f +AUX scorched3d-43.3d-win32.patch 464 RMD160 a5f71400def2260c0bd296a6e02bc74ec26c0414 SHA1 5466cf241a6900d85ff8ceebeba79e14c6866880 SHA256 325ec09315a102ebb2290007c28fe263771991a5c82908a0ef084f1f6f209b1f DIST Scorched3D-43.2a-src.tar.gz 66822169 RMD160 f1d91afdb80220b85b82ecb87988033629c3d697 SHA1 d72e928512d4cc1c525161abd061318425a1ae40 SHA256 b13fa8b6862271efde2fb1f7d6c470ce180940cf8896f42a86a1f8b39cad61c3 DIST Scorched3D-43.3d-src.tar.gz 93245939 RMD160 f09442b73e80e3bcd0e462527b6530ffdec6473f SHA1 a47e5095b779290f5798ad2e6eb158f930af1230 SHA256 a5e7bdc3810517ab142cfcb43951ca55d03c81252d00bc323f0f204deb62ef1c -EBUILD scorched3d-43.2a.ebuild 1554 RMD160 6d635f4b6ac7c58441f3d66b48c223b0761c1fc8 SHA1 f07d1822f5a211f717f0f23376d6f038d60d8abf SHA256 59a13e7e9400de681b9b087b80d38892e80494a823d43d3d1fa71c55450f06ea -EBUILD scorched3d-43.3d.ebuild 1746 RMD160 7b3ff907fc2c83b664801c99de90bb3f93e23580 SHA1 34914d37cfe78aaa4136d368573d60756dce9fdc SHA256 91817b072e5915512716bed1891070fa0e5767f4e6fb6a03c62400c3e843336c -MISC ChangeLog 13050 RMD160 6f1ad673a754b92d9b2c3ab1d263c1d7296d1dc9 SHA1 7ee3ca20eb45a7c47c4b557267637bb70c67313d SHA256 5fc4e51c1c45b27e730f03c1cc35bf52e218110fc2549e4fa99ae5b0dc25dca2 +EBUILD scorched3d-43.2a.ebuild 1537 RMD160 1762d2dbd3714a9cbad5d54a17928ae9420de22e SHA1 15926e15d0a770c36d7b680fbcc3071bfba3c5b5 SHA256 f129ba7434379755a0251d20e5796d8c177c3319c266cfb191db828e9a3bd226 +EBUILD scorched3d-43.3d.ebuild 1694 RMD160 3d1e3d984441e918542d6f49adebfdf6a5778a46 SHA1 62024999ea184d3602649fd9c11fadef9c752cf0 SHA256 6667b70252e11a101e06d55839899213520ea930ab1930966289b089c75de46e +MISC ChangeLog 13542 RMD160 eea18e40845dce8a2f7bfe9feecd844f5d9b2c2f SHA1 8b05d876cbbbcdafdb497c3d4d2f12b3bfc2802b SHA256 ce12ea05161f48a0d71ca21b54a9d9789fa8997ebb73bdc22de7c7478e4786bd MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iEYEARECAAYFAk+ud8wACgkQcaHudmEf86rOigCfXPakeVkypMBFCqht6zSYxinS -brgAn1J30QhSz+VhW/pkSWObH37vZhDm -=DsRI ------END PGP SIGNATURE----- diff --git a/games-strategy/scorched3d/files/scorched3d-43.2a-fixups.patch b/games-strategy/scorched3d/files/scorched3d-43.2a-fixups.patch index 36a027cb60cc..d53c3446f604 100644 --- a/games-strategy/scorched3d/files/scorched3d-43.2a-fixups.patch +++ b/games-strategy/scorched3d/files/scorched3d-43.2a-fixups.patch @@ -1,6 +1,5 @@ -diff -ru scorched.orig/configure-al.m4 scorched/configure-al.m4 ---- scorched.orig/configure-al.m4 2008-03-03 16:17:18.000000000 -0500 -+++ scorched/configure-al.m4 2009-02-15 20:43:35.000000000 -0500 +--- scorched.orig/configure-al.m4 ++++ scorched/configure-al.m4 @@ -7,25 +7,9 @@ [ --disable-openaltest Do not try to compile and run a test OpenAL program], , enable_openaltest=yes) @@ -30,9 +29,8 @@ diff -ru scorched.orig/configure-al.m4 scorched/configure-al.m4 AC_MSG_CHECKING(for Freealut support) AC_PATH_PROG(FREEALUT_CONFIG, freealut-config, no) -diff -ru scorched.orig/configure.ac scorched/configure.ac ---- scorched.orig/configure.ac 2008-03-03 16:17:18.000000000 -0500 -+++ scorched/configure.ac 2009-02-15 20:40:30.000000000 -0500 +--- scorched.orig/configure.ac ++++ scorched/configure.ac @@ -13,22 +13,6 @@ AC_PROG_INSTALL AC_PROG_RANLIB diff --git a/games-strategy/scorched3d/files/scorched3d-43.2a-gcc43.patch b/games-strategy/scorched3d/files/scorched3d-43.2a-gcc43.patch index b235f07c585f..79f40b70e652 100644 --- a/games-strategy/scorched3d/files/scorched3d-43.2a-gcc43.patch +++ b/games-strategy/scorched3d/files/scorched3d-43.2a-gcc43.patch @@ -1,6 +1,5 @@ -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 +--- scorched.old/src/common/common/main.h ++++ scorched/src/common/common/main.h @@ -40,7 +40,7 @@ void _no_storage()
{
@@ -10,9 +9,8 @@ diff -ur scorched.old/src/common/common/main.h scorched/src/common/common/main.h }
void run_main(int argc, char *argv[], OptionsParameters ¶ms)
-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 +--- scorched.old/src/common/porting/windows.h ++++ scorched/src/common/porting/windows.h @@ -20,7 +20,7 @@ typedef unsigned short WORD;
typedef unsigned char BYTE;
diff --git a/games-strategy/scorched3d/files/scorched3d-43.2a-odbc.patch b/games-strategy/scorched3d/files/scorched3d-43.2a-odbc.patch index 355755e7cdb0..e7f3833bf897 100644 --- a/games-strategy/scorched3d/files/scorched3d-43.2a-odbc.patch +++ b/games-strategy/scorched3d/files/scorched3d-43.2a-odbc.patch @@ -1,9 +1,8 @@ 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 +--- scorched/src/common/porting/windows.h ++++ fix_scorched/src/common/porting/windows.h @@ -11,8 +11,8 @@ typedef char * LPSTR;
diff --git a/games-strategy/scorched3d/files/scorched3d-43.2a-png15.patch b/games-strategy/scorched3d/files/scorched3d-43.2a-png15.patch index 4e8f003b8dde..d349532a35d8 100644 --- a/games-strategy/scorched3d/files/scorched3d-43.2a-png15.patch +++ b/games-strategy/scorched3d/files/scorched3d-43.2a-png15.patch @@ -1,5 +1,5 @@ ---- ./src/common/image/ImagePngFactory.cpp.old 2011-09-12 12:34:30.114461019 +0200 -+++ ./src/common/image/ImagePngFactory.cpp 2011-09-12 12:39:28.566425593 +0200 +--- ./src/common/image/ImagePngFactory.cpp.old ++++ ./src/common/image/ImagePngFactory.cpp @@ -104,7 +104,7 @@ static void user_png_error(png_structp png_ptr, png_const_charp msg)
@@ -9,8 +9,8 @@ }
static void user_png_warning(png_structp png_ptr, png_const_charp msg)
---- ./src/client/client/LoadPNG.cpp.old 2011-09-12 12:45:49.167380419 +0200 -+++ ./src/client/client/LoadPNG.cpp 2011-09-12 14:11:14.961772024 +0200 +--- ./src/client/client/LoadPNG.cpp.old ++++ ./src/client/client/LoadPNG.cpp @@ -28,6 +28,8 @@ int row, i; volatile int ckey = -1; diff --git a/games-strategy/scorched3d/files/scorched3d-43.2a-win32.patch b/games-strategy/scorched3d/files/scorched3d-43.2a-win32.patch index 8b63d509147c..05f9c806b1c7 100644 --- a/games-strategy/scorched3d/files/scorched3d-43.2a-win32.patch +++ b/games-strategy/scorched3d/files/scorched3d-43.2a-win32.patch @@ -1,6 +1,5 @@ -diff -ur scorched.old/src/common/porting/windows.h scorched/src/common/porting/windows.h ---- scorched.old/src/common/porting/windows.h 2009-12-17 15:18:41.000000000 +0200 -+++ scorched/src/common/porting/windows.h 2009-12-17 15:22:20.000000000 +0200 +--- scorched.old/src/common/porting/windows.h ++++ scorched/src/common/porting/windows.h @@ -9,6 +9,7 @@ #include <ctype.h>
#include <common/Defines.h>
diff --git a/games-strategy/scorched3d/files/scorched3d-43.3d-fixups.patch b/games-strategy/scorched3d/files/scorched3d-43.3d-fixups.patch index c054829546e6..f7a835fd8df2 100644 --- a/games-strategy/scorched3d/files/scorched3d-43.3d-fixups.patch +++ b/games-strategy/scorched3d/files/scorched3d-43.3d-fixups.patch @@ -1,6 +1,5 @@ -diff -ru scorched.orig/configure.ac scorched/configure.ac ---- scorched.orig/configure.ac 2008-03-03 16:17:18.000000000 -0500 -+++ scorched/configure.ac 2009-02-15 20:40:30.000000000 -0500 +--- scorched.orig/configure.ac ++++ scorched/configure.ac @@ -13,22 +13,6 @@ AC_PROG_INSTALL AC_PROG_RANLIB diff --git a/games-strategy/scorched3d/files/scorched3d-43.3d-gcc43.patch b/games-strategy/scorched3d/files/scorched3d-43.3d-gcc43.patch new file mode 100644 index 000000000000..79f40b70e652 --- /dev/null +++ b/games-strategy/scorched3d/files/scorched3d-43.3d-gcc43.patch @@ -0,0 +1,22 @@ +--- scorched.old/src/common/common/main.h ++++ scorched/src/common/common/main.h +@@ -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)
+--- scorched.old/src/common/porting/windows.h ++++ scorched/src/common/porting/windows.h +@@ -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;
diff --git a/games-strategy/scorched3d/files/scorched3d-43.3d-odbc.patch b/games-strategy/scorched3d/files/scorched3d-43.3d-odbc.patch new file mode 100644 index 000000000000..e7f3833bf897 --- /dev/null +++ b/games-strategy/scorched3d/files/scorched3d-43.3d-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;
diff --git a/games-strategy/scorched3d/files/scorched3d-43.3d-png15.patch b/games-strategy/scorched3d/files/scorched3d-43.3d-png15.patch new file mode 100644 index 000000000000..d349532a35d8 --- /dev/null +++ b/games-strategy/scorched3d/files/scorched3d-43.3d-png15.patch @@ -0,0 +1,74 @@ +--- ./src/common/image/ImagePngFactory.cpp.old ++++ ./src/common/image/ImagePngFactory.cpp +@@ -104,7 +104,7 @@ +
+ static void user_png_error(png_structp png_ptr, png_const_charp msg)
+ {
+- longjmp(png_ptr->jmpbuf,1);
++ longjmp(png_jmpbuf(png_ptr),1);
+ }
+
+ static void user_png_warning(png_structp png_ptr, png_const_charp msg)
+--- ./src/client/client/LoadPNG.cpp.old ++++ ./src/client/client/LoadPNG.cpp +@@ -28,6 +28,8 @@ + int row, i; + volatile int ckey = -1; + png_color_16 *transv; ++ png_colorp png_palette; ++ int num_palette; + + if ( !src ) { + /* The error message has been set in SDL_RWFromFile */ +@@ -58,7 +60,7 @@ + * the normal method of doing things with libpng). REQUIRED unless you + * set up your own error handlers in png_create_read_struct() earlier. + */ +- if ( setjmp(png_ptr->jmpbuf) ) { ++ if ( setjmp(png_jmpbuf(png_ptr)) ) { + error = "Error reading the PNG file."; + goto done; + } +@@ -127,9 +129,9 @@ + Rmask = 0x000000FF; + Gmask = 0x0000FF00; + Bmask = 0x00FF0000; +- Amask = (info_ptr->channels == 4) ? 0xFF000000 : 0; ++ Amask = (png_get_channels(png_ptr, info_ptr) == 4) ? 0xFF000000 : 0; + } else { +- int s = (info_ptr->channels == 4) ? 0 : 8; ++ int s = (png_get_channels(png_ptr, info_ptr) == 4) ? 0 : 8; + Rmask = 0xFF000000 >> s; + Gmask = 0x00FF0000 >> s; + Bmask = 0x0000FF00 >> s; +@@ -137,7 +139,7 @@ + } + } + surface = SDL_AllocSurface(SDL_SWSURFACE, width, height, +- bit_depth*info_ptr->channels, Rmask,Gmask,Bmask,Amask); ++ bit_depth*png_get_channels(png_ptr, info_ptr), Rmask,Gmask,Bmask,Amask); + if ( surface == NULL ) { + error = "Out of memory"; + goto done; +@@ -185,12 +187,15 @@ + palette->colors[i].g = i; + palette->colors[i].b = i; + } +- } else if (info_ptr->num_palette > 0 ) { +- palette->ncolors = info_ptr->num_palette; +- for( i=0; i<info_ptr->num_palette; ++i ) { +- palette->colors[i].b = info_ptr->palette[i].blue; +- palette->colors[i].g = info_ptr->palette[i].green; +- palette->colors[i].r = info_ptr->palette[i].red; ++ } else { ++ png_get_PLTE(png_ptr, info_ptr, &png_palette, &num_palette); ++ if (num_palette > 0 ) { ++ palette->ncolors = num_palette; ++ for( i=0; i<num_palette; ++i ) { ++ palette->colors[i].b = png_palette[i].blue; ++ palette->colors[i].g = png_palette[i].green; ++ palette->colors[i].r = png_palette[i].red; ++ } + } + } + } diff --git a/games-strategy/scorched3d/files/scorched3d-43.3d-win32.patch b/games-strategy/scorched3d/files/scorched3d-43.3d-win32.patch new file mode 100644 index 000000000000..05f9c806b1c7 --- /dev/null +++ b/games-strategy/scorched3d/files/scorched3d-43.3d-win32.patch @@ -0,0 +1,18 @@ +--- scorched.old/src/common/porting/windows.h ++++ scorched/src/common/porting/windows.h +@@ -9,6 +9,7 @@ + #include <ctype.h>
+ #include <common/Defines.h>
+
++#ifdef _WIN32
+ typedef char * LPSTR;
+ typedef const char * LPCTSTR;
+ typedef unsigned int DWORD;
+@@ -27,6 +28,7 @@ + typedef int LRESULT;
+ typedef void * HDC;
+ typedef void * HGLRC;
++#endif /* _WIN32 */
+
+ #define _strnicmp(a,b,c) strncasecmp(a,b,c)
+ #define stricmp(a,b) strcasecmp(a,b)
diff --git a/games-strategy/scorched3d/scorched3d-43.2a.ebuild b/games-strategy/scorched3d/scorched3d-43.2a.ebuild index 4c45dc40d9d8..85762b449c9b 100644 --- a/games-strategy/scorched3d/scorched3d-43.2a.ebuild +++ b/games-strategy/scorched3d/scorched3d-43.2a.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-43.2a.ebuild,v 1.7 2012/05/12 14:41:22 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-43.2a.ebuild,v 1.8 2012/05/13 19:32:09 mr_bones_ Exp $ EAPI=2 WX_GTK_VER=2.8 @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" IUSE="dedicated mysql" -RDEPEND="media-libs/libsdl[video] +DEPEND="media-libs/libsdl[video] media-libs/sdl-net media-libs/libpng virtual/jpeg:0 @@ -33,8 +33,6 @@ RDEPEND="media-libs/libsdl[video] ) mysql? ( virtual/mysql )" -DEPEND="$RDEPEND" - S=${WORKDIR}/scorched src_prepare() { diff --git a/games-strategy/scorched3d/scorched3d-43.3d.ebuild b/games-strategy/scorched3d/scorched3d-43.3d.ebuild index c24f2d8fdc65..66a393ebca90 100644 --- a/games-strategy/scorched3d/scorched3d-43.3d.ebuild +++ b/games-strategy/scorched3d/scorched3d-43.3d.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-43.3d.ebuild,v 1.1 2012/05/12 14:41:22 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-43.3d.ebuild,v 1.2 2012/05/13 19:32:09 mr_bones_ Exp $ EAPI=2 WX_GTK_VER=2.8 @@ -8,14 +8,14 @@ inherit autotools eutils wxwidgets games DESCRIPTION="Multi-player tank battle in 3D (OpenGL)" HOMEPAGE="http://www.scorched3d.co.uk/" -SRC_URI="mirror://sourceforge/${PN}/Scorched3D-${PV}-src.tar.gz" +SRC_URI="mirror://sourceforge/scorched3d/Scorched3D-${PV}-src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="dedicated mysql" -RDEPEND="media-libs/libsdl[video] +DEPEND="media-libs/libsdl[video] media-libs/sdl-net media-libs/libpng virtual/jpeg:0 @@ -33,16 +33,15 @@ RDEPEND="media-libs/libsdl[video] ) mysql? ( virtual/mysql )" -DEPEND="$RDEPEND" - S=${WORKDIR}/scorched src_prepare() { - epatch "${FILESDIR}"/${P}-fixups.patch - epatch "${FILESDIR}"/${PN}-43.2a-gcc43.patch - epatch "${FILESDIR}"/${PN}-43.2a-odbc.patch - epatch "${FILESDIR}"/${PN}-43.2a-png15.patch - epatch "${FILESDIR}"/${PN}-43.2a-win32.patch + epatch \ + "${FILESDIR}"/${P}-fixups.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-odbc.patch \ + "${FILESDIR}"/${P}-png15.patch \ + "${FILESDIR}"/${P}-win32.patch eautoreconf } |