gnu: owncloud-client: Update to 2.7.5.3180.
[jackhill/guix/guix.git] / gnu / packages / patches / kobodeluxe-const-charp-conversion.patch
CommitLineData
a56145e1
SW
1Description: Avoid compilation error with gcc-4.4.
2 "const char* -> char*" conversion is fatal in that version
3Origin: vendor, https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373
4Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373
5Bug-Debian: http://bugs.debian.org/552548
6Forwarded: http://www.freelists.org/post/olofsonprojects/kobodlpatch-compile-error-in-windowcpp-with-g44
7--- a/graphics/window.cpp
8+++ b/graphics/window.cpp
9@@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x,
10 */
11 if(token)
12 {
13- char *tok = strchr(txt, token);
14+ const char *tok = strchr(txt, token);
15 if(tok)
16 tokpos = tok-txt;
17 else