diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2009-06-14 00:17:47 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2009-06-14 00:17:47 +0000 |
commit | 0241e25c91deea154397954772cc25523825fe11 (patch) | |
tree | 4533f0dce7a93e3e4d4640bcd2d0088440201c86 /games-mud/crystal/files | |
parent | Fix building with glibc-2.10, bug #273528 (diff) | |
download | gentoo-2-0241e25c91deea154397954772cc25523825fe11.tar.gz gentoo-2-0241e25c91deea154397954772cc25523825fe11.tar.bz2 gentoo-2-0241e25c91deea154397954772cc25523825fe11.zip |
Fix building with glibc-2.10, bug #273498
(Portage version: 2.2_rc33/cvs/Linux i686)
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; |