diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-12-22 17:25:20 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-12-22 17:25:20 +0000 |
commit | a556706042abcaaa31176e932fff59187223c52a (patch) | |
tree | 15ce2d849d03fe9b14a543fafb6c54945cdfea3f /games-fps/alienarena | |
parent | Version bump, bug #245703 (diff) | |
download | gentoo-2-a556706042abcaaa31176e932fff59187223c52a.tar.gz gentoo-2-a556706042abcaaa31176e932fff59187223c52a.tar.bz2 gentoo-2-a556706042abcaaa31176e932fff59187223c52a.zip |
rm
(Portage version: 2.2_rc18/cvs/Linux 2.6.27.10 i686)
Diffstat (limited to 'games-fps/alienarena')
-rw-r--r-- | games-fps/alienarena/files/alienarena-20071011-paths.patch | 19 | ||||
-rw-r--r-- | games-fps/alienarena/files/alienarena-20080227-include.patch | 106 |
2 files changed, 0 insertions, 125 deletions
diff --git a/games-fps/alienarena/files/alienarena-20071011-paths.patch b/games-fps/alienarena/files/alienarena-20071011-paths.patch deleted file mode 100644 index 263aa58666b6..000000000000 --- a/games-fps/alienarena/files/alienarena-20071011-paths.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- source/unix/sys_unix.c 2007-06-14 13:15:32.834511771 -0400 -+++ source/unix/sys_unix.c 2007-06-14 13:16:54.505565372 -0400 -@@ -234,7 +234,7 @@ - path = FS_NextPath (path); - if (!path) - return NULL; // couldn't find one anywhere -- snprintf (name, MAX_OSPATH, "%s/%s", path, gamename); -+ snprintf (name, MAX_OSPATH, "%s/%s", "GENTOO_LIBDIR", gamename); - - /* skip it if it just doesn't exist */ - fp = fopen(name, "rb"); -@@ -308,6 +308,7 @@ - saved_euid = geteuid(); - seteuid(getuid()); - -+ chdir("GENTOO_DATADIR"); - Qcommon_Init(argc, argv); - - fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY); diff --git a/games-fps/alienarena/files/alienarena-20080227-include.patch b/games-fps/alienarena/files/alienarena-20080227-include.patch deleted file mode 100644 index 4fa51dd08752..000000000000 --- a/games-fps/alienarena/files/alienarena-20080227-include.patch +++ /dev/null @@ -1,106 +0,0 @@ -Index: unix/net_udp.c -=================================================================== ---- unix/net_udp.c (revision 877) -+++ unix/net_udp.c (working copy) -@@ -26,6 +26,7 @@ - #include <sys/time.h>
- #include <netinet/in.h>
- #include <netdb.h>
-+#include <arpa/inet.h>
- #include <sys/param.h>
- #include <sys/ioctl.h>
- #include <sys/uio.h>
-Index: unix/q_shunix.c -=================================================================== ---- unix/q_shunix.c (revision 877) -+++ unix/q_shunix.c (working copy) -@@ -152,13 +152,6 @@ - mkdir (path, 0777); - } - --char *strlwr (char *s) --{ -- while (*s) { -- *s = tolower(*s); -- s++; -- } --} - - //============================================ - -Index: game/q_shared.h -=================================================================== ---- game/q_shared.h (revision 877) -+++ game/q_shared.h (working copy) -@@ -39,6 +39,7 @@ - #include <string.h>
- #include <stdlib.h>
- #include <time.h>
-+#include <ctype.h>
-
- #if (defined _M_IX86 || defined __i386__) && !defined C_ONLY && !defined __sun__
- #define id386 1
-@@ -253,6 +254,8 @@ - int Q_strnicmp (const char *string1, const char *string2, int n);
- //=============================================
-
-+char *Q_strlwr(char *s);
-+
- short BigShort(short l);
- short LittleShort(short l);
- int BigLong (int l);
-Index: qcommon/files.c -=================================================================== ---- qcommon/files.c (revision 877) -+++ qcommon/files.c (working copy) -@@ -19,6 +19,7 @@ - */ - - #include "qcommon.h" -+#include "../unix/glob.h" - - // define this to dissalow any data but the demo pak file - //#define NO_ADDONS -Index: client/menu.c -=================================================================== ---- client/menu.c (revision 877) -+++ client/menu.c (working copy) -@@ -24,6 +24,7 @@ - - #ifdef __unix__ - #include <sys/time.h> -+#include <unistd.h> - #endif - - #ifdef _WIN32 -Index: ref_gl/r_main.c -=================================================================== ---- ref_gl/r_main.c (revision 877) -+++ ref_gl/r_main.c (working copy) -@@ -1659,10 +1659,10 @@ - Com_Printf ("GL_EXTENSIONS: %s\n", gl_config.extensions_string );
-
- strcpy( renderer_buffer, gl_config.renderer_string );
-- strlwr( renderer_buffer );
-+ Q_strlwr( renderer_buffer );
-
- strcpy( vendor_buffer, gl_config.vendor_string );
-- strlwr( vendor_buffer );
-+ Q_strlwr( vendor_buffer );
-
- if ( strstr( renderer_buffer, "voodoo" ) )
- {
-Index: ref_gl/r_script.h -=================================================================== ---- ref_gl/r_script.h (revision 877) -+++ ref_gl/r_script.h (working copy) -@@ -160,9 +160,7 @@ - void RS_FreeUnmarked(void); - rscript_t *RS_FindScript(char *name); - void RS_ReadyScript(rscript_t *rs); --#ifdef _WINDOWS - void RS_ScanPathForScripts(void); --#endif - int RS_Animate(rs_stage_t *stage); - void RS_UpdateRegistration(void); - void RS_DrawSurface (msurface_t *surf, qboolean lightmap); |