diff options
Diffstat (limited to 'games-mud/crystal/files')
-rw-r--r-- | games-mud/crystal/files/crystal-0.2.2-glibc2.10.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-mud/crystal/files/crystal-0.2.2-glibc2.10.patch b/games-mud/crystal/files/crystal-0.2.2-glibc2.10.patch new file mode 100644 index 000000000000..fc1eaf7679ac --- /dev/null +++ b/games-mud/crystal/files/crystal-0.2.2-glibc2.10.patch @@ -0,0 +1,11 @@ +--- Socket.cc ++++ Socket.cc +@@ -344,7 +344,7 @@ + + const char *srv = 0, *lasth = 0; + +- if (char *u=strchr(s, '@')) { ++ if (const char *u=strchr(s, '@')) { + printf("We have a username part.\n"); + username = std::string(s, u-s); + has_username = true; |