Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 193743 Details for
Bug 272961
[PATCH] games-action/armagetronad-0.2.7.1-r1 does not emerge
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix compilation with glibc-2.10.1 by casting (not a clean solution but should work)
armagetronad-glibc-2.10.1.patch (text/plain), 619 bytes, created by
Martin Väth
on 2009-06-06 17:49:59 UTC
(
hide
)
Description:
Fix compilation with glibc-2.10.1 by casting (not a clean solution but should work)
Filename:
MIME Type:
Creator:
Martin Väth
Created:
2009-06-06 17:49:59 UTC
Size:
619 bytes
patch
obsolete
>--- src/network/net_udp.cpp >+++ src/network/net_udp.cpp >@@ -178,7 +178,7 @@ > struct hostent *local; > char buff[MAXHOSTNAMELEN]="\0"; > struct sockaddr addr; >- char *colon; >+ const char *colon; > > #ifdef WIN32 > WSADATA winsockdata; >@@ -232,9 +232,9 @@ > > ANET_GetSocketAddr (net_controlsocket, &addr); > my_tcpip_address=ANET_AddrToString (&addr); >- colon = strrchr (my_tcpip_address, ':'); >+ colon = (strrchr (my_tcpip_address, ':')); > if (colon) >- *colon = 0; >+ *const_cast<char*>(colon) = 0; > > // Con_Printf("UDP Initialized\n"); > tcpipAvailable = true;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272961
:
193742
| 193743