1 |
nyhm 08/03/25 18:28:02 |
2 |
|
3 |
Added: alienarena-20080227-include.patch |
4 |
Log: |
5 |
Version bump, thanks to Paul Bredbury and Rémy Dupont, bug #212575 |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-fps/alienarena/files/alienarena-20080227-include.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/files/alienarena-20080227-include.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/files/alienarena-20080227-include.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: alienarena-20080227-include.patch |
15 |
=================================================================== |
16 |
Index: unix/net_udp.c |
17 |
=================================================================== |
18 |
--- unix/net_udp.c (revision 877) |
19 |
+++ unix/net_udp.c (working copy) |
20 |
@@ -26,6 +26,7 @@ |
21 |
#include <sys/time.h> |
22 |
#include <netinet/in.h> |
23 |
#include <netdb.h> |
24 |
+#include <arpa/inet.h> |
25 |
#include <sys/param.h> |
26 |
#include <sys/ioctl.h> |
27 |
#include <sys/uio.h> |
28 |
Index: unix/q_shunix.c |
29 |
=================================================================== |
30 |
--- unix/q_shunix.c (revision 877) |
31 |
+++ unix/q_shunix.c (working copy) |
32 |
@@ -152,13 +152,6 @@ |
33 |
mkdir (path, 0777); |
34 |
} |
35 |
|
36 |
-char *strlwr (char *s) |
37 |
-{ |
38 |
- while (*s) { |
39 |
- *s = tolower(*s); |
40 |
- s++; |
41 |
- } |
42 |
-} |
43 |
|
44 |
//============================================ |
45 |
|
46 |
Index: game/q_shared.h |
47 |
=================================================================== |
48 |
--- game/q_shared.h (revision 877) |
49 |
+++ game/q_shared.h (working copy) |
50 |
@@ -39,6 +39,7 @@ |
51 |
#include <string.h> |
52 |
#include <stdlib.h> |
53 |
#include <time.h> |
54 |
+#include <ctype.h> |
55 |
|
56 |
#if (defined _M_IX86 || defined __i386__) && !defined C_ONLY && !defined __sun__ |
57 |
#define id386 1 |
58 |
@@ -253,6 +254,8 @@ |
59 |
int Q_strnicmp (const char *string1, const char *string2, int n); |
60 |
//============================================= |
61 |
|
62 |
+char *Q_strlwr(char *s); |
63 |
+ |
64 |
short BigShort(short l); |
65 |
short LittleShort(short l); |
66 |
int BigLong (int l); |
67 |
Index: qcommon/files.c |
68 |
=================================================================== |
69 |
--- qcommon/files.c (revision 877) |
70 |
+++ qcommon/files.c (working copy) |
71 |
@@ -19,6 +19,7 @@ |
72 |
*/ |
73 |
|
74 |
#include "qcommon.h" |
75 |
+#include "../unix/glob.h" |
76 |
|
77 |
// define this to dissalow any data but the demo pak file |
78 |
//#define NO_ADDONS |
79 |
Index: client/menu.c |
80 |
=================================================================== |
81 |
--- client/menu.c (revision 877) |
82 |
+++ client/menu.c (working copy) |
83 |
@@ -24,6 +24,7 @@ |
84 |
|
85 |
#ifdef __unix__ |
86 |
#include <sys/time.h> |
87 |
+#include <unistd.h> |
88 |
#endif |
89 |
|
90 |
#ifdef _WIN32 |
91 |
Index: ref_gl/r_main.c |
92 |
=================================================================== |
93 |
--- ref_gl/r_main.c (revision 877) |
94 |
+++ ref_gl/r_main.c (working copy) |
95 |
@@ -1659,10 +1659,10 @@ |
96 |
Com_Printf ("GL_EXTENSIONS: %s\n", gl_config.extensions_string ); |
97 |
|
98 |
strcpy( renderer_buffer, gl_config.renderer_string ); |
99 |
- strlwr( renderer_buffer ); |
100 |
+ Q_strlwr( renderer_buffer ); |
101 |
|
102 |
strcpy( vendor_buffer, gl_config.vendor_string ); |
103 |
- strlwr( vendor_buffer ); |
104 |
+ Q_strlwr( vendor_buffer ); |
105 |
|
106 |
if ( strstr( renderer_buffer, "voodoo" ) ) |
107 |
{ |
108 |
Index: ref_gl/r_script.h |
109 |
=================================================================== |
110 |
--- ref_gl/r_script.h (revision 877) |
111 |
+++ ref_gl/r_script.h (working copy) |
112 |
@@ -160,9 +160,7 @@ |
113 |
void RS_FreeUnmarked(void); |
114 |
rscript_t *RS_FindScript(char *name); |
115 |
void RS_ReadyScript(rscript_t *rs); |
116 |
-#ifdef _WINDOWS |
117 |
void RS_ScanPathForScripts(void); |
118 |
-#endif |
119 |
int RS_Animate(rs_stage_t *stage); |
120 |
void RS_UpdateRegistration(void); |
121 |
void RS_DrawSurface (msurface_t *surf, qboolean lightmap); |
122 |
|
123 |
|
124 |
|
125 |
-- |
126 |
gentoo-commits@l.g.o mailing list |