diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-engines/frotz/files/frotz-2.43-glibc2.10.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-engines/frotz/files/frotz-2.43-glibc2.10.patch')
-rw-r--r-- | games-engines/frotz/files/frotz-2.43-glibc2.10.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch new file mode 100644 index 000000000000..3f2639ec47d0 --- /dev/null +++ b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch @@ -0,0 +1,29 @@ +--- a/src/dumb/dumb_input.c ++++ b/src/dumb/dumb_input.c +@@ -79,7 +79,7 @@ + /* Read one line, including the newline, into s. Safely avoids buffer + * overruns (but that's kind of pointless because there are several + * other places where I'm not so careful). */ +-static void getline(char *s) ++static void get_line(char *s) + { + int c; + char *p = s; +@@ -203,7 +203,7 @@ + fputs(prompt, stdout); + else + dumb_show_prompt(show_cursor, (timeout ? "tTD" : ")>}")[type]); +- getline(s); ++ get_line(s); + if ((s[0] != '\\') || ((s[1] != '\0') && !islower(s[1]))) { + /* Is not a command line. */ + translate_special_chars(s); +@@ -265,7 +265,7 @@ + if (!*current_page) + break; + printf("HELP: Type <return> for more, or q <return> to stop: "); +- getline(s); ++ get_line(s); + if (!strcmp(s, "q\n")) + break; + } |