diff options
Diffstat (limited to 'x11-misc/gbdfed/files/gbdfed-1.4-glibc-2.10.patch')
-rw-r--r-- | x11-misc/gbdfed/files/gbdfed-1.4-glibc-2.10.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-misc/gbdfed/files/gbdfed-1.4-glibc-2.10.patch b/x11-misc/gbdfed/files/gbdfed-1.4-glibc-2.10.patch new file mode 100644 index 000000000000..5a4f690da70b --- /dev/null +++ b/x11-misc/gbdfed/files/gbdfed-1.4-glibc-2.10.patch @@ -0,0 +1,39 @@ +--- bdfgname.c ++++ bdfgname.c +@@ -39,7 +39,7 @@ + #define MAX_GLYPH_NAME_LEN 127 + + static int +-getline(FILE *in, char *buf, int limit) ++bdf_getline(FILE *in, char *buf, int limit) + { + int c, i; + +@@ -78,11 +78,11 @@ + + while (!feof(in)) { + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) bdf_getline(in, buf, 256); + while (!feof(in) && (buf[0] == 0 || buf[0] == '#')) { + buf[0] = 0; + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) bdf_getline(in, buf, 256); + } + + if (buf[0] == 0) +@@ -139,11 +139,11 @@ + + while (!feof(in)) { + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) bdf_getline(in, buf, 256); + while (!feof(in) && (buf[0] == 0 || buf[0] == '#')) { + buf[0] = 0; + pos = ftell(in); +- (void) getline(in, buf, 256); ++ (void) bdf_getline(in, buf, 256); + } + + if (adobe_names_used == adobe_names_size) { |