diff options
author | 2009-06-13 16:42:10 +0000 | |
---|---|---|
committer | 2009-06-13 16:42:10 +0000 | |
commit | c17bb18ab02b8b2d7c1ab711e947bda5c73983d9 (patch) | |
tree | 65204e44a557291eca65d49bf24ffabeccd8372d /games-engines/freesci/files | |
parent | Update mask for rubinius to point out removal pending. (diff) | |
download | gentoo-2-c17bb18ab02b8b2d7c1ab711e947bda5c73983d9.tar.gz gentoo-2-c17bb18ab02b8b2d7c1ab711e947bda5c73983d9.tar.bz2 gentoo-2-c17bb18ab02b8b2d7c1ab711e947bda5c73983d9.zip |
Fix building with glibc-2.10, bug #273398
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'games-engines/freesci/files')
-rw-r--r-- | games-engines/freesci/files/freesci-0.6.4-glibc2.10.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/games-engines/freesci/files/freesci-0.6.4-glibc2.10.patch b/games-engines/freesci/files/freesci-0.6.4-glibc2.10.patch new file mode 100644 index 000000000000..f0ddba8d2791 --- /dev/null +++ b/games-engines/freesci/files/freesci-0.6.4-glibc2.10.patch @@ -0,0 +1,42 @@ +--- src/tools/bdfgname.c ++++ src/tools/bdfgname.c +@@ -47,9 +47,9 @@ + + static int + #ifdef __STDC__ +-getline(FILE *in, char *buf, int limit) ++get_line(FILE *in, char *buf, int limit) + #else +-getline(in, buf, limit) ++get_line(in, buf, limit) + FILE *in; + char *buf; + int limit; +@@ -99,11 +99,11 @@ + + while (!feof(in)) { + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) get_line(in, buf, 256); + while (!feof(in) && (buf[0] == 0 || buf[0] == '#')) { + buf[0] = 0; + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) get_line(in, buf, 256); + } + + if (buf[0] == 0) +@@ -170,11 +170,11 @@ + + while (!feof(in)) { + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) get_line(in, buf, 256); + while (!feof(in) && (buf[0] == 0 || buf[0] == '#')) { + buf[0] = 0; + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) get_line(in, buf, 256); + } + + c = _bdf_atol(buf, 0, 16); |