diff options
author | Martin Väth <martin@mvath.de> | 2016-03-06 15:27:17 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2016-03-06 15:27:17 +0100 |
commit | 5b2f57cd633351f256dac2f0e990be7d6357ed9e (patch) | |
tree | 2bd3732b2a745fa62135e933b084df25e4130919 /games-engines/freesci/files | |
parent | games-emulation/xmess: Add old gentoo ebuild, bumped to EAPI=6 (diff) | |
download | mv-5b2f57cd633351f256dac2f0e990be7d6357ed9e.tar.gz mv-5b2f57cd633351f256dac2f0e990be7d6357ed9e.tar.bz2 mv-5b2f57cd633351f256dac2f0e990be7d6357ed9e.zip |
games-engines/freesci: Add old gentoo ebuild, bumped to EAPI=6
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 00000000..f0ddba8d --- /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); |