Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201906 Details for
Bug 273557
games-arcade/xevil: fails to build with glibc-2.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
a crude patch with const_casts which enabled the compilation with glibc210
xevil-2.02_p2-glibc210.patch (text/plain), 645 bytes, created by
Arttu Valo
on 2009-08-22 00:29:22 UTC
(
hide
)
Description:
a crude patch with const_casts which enabled the compilation with glibc210
Filename:
MIME Type:
Creator:
Arttu Valo
Created:
2009-08-22 00:29:22 UTC
Size:
645 bytes
patch
obsolete
>diff -ur cmn.old/utils.h cmn/utils.h >--- cmn.old/utils.h 2009-08-22 02:16:21.000000000 +0300 >+++ cmn/utils.h 2009-08-22 02:26:33.000000000 +0300 >@@ -238,13 +238,13 @@ > same. */ > > static char* strchr(const char* cs,int c) >- {return ::strchr(cs,c);} >+ {return const_cast<char*>(::strchr(cs,c));} > > static char* strrchr(const char* cs,int c) >- {return ::strrchr(cs,c);} >+ {return const_cast<char*>(::strrchr(cs,c));} > > static char* strstr(const char* cs,const char* ct) >- {return ::strstr(cs,ct);} >+ {return const_cast<char*>(::strstr(cs,ct));} > > static void strcpy(char* s,const char* ct) > {::strcpy(s,ct);}
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 273557
:
194155
| 201906