diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch')
-rw-r--r-- | app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch b/app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch new file mode 100644 index 000000000000..14c13c063246 --- /dev/null +++ b/app-accessibility/nfbtrans/files/nfbtrans-7.74-getline-fix.patch @@ -0,0 +1,40 @@ +diff --git a/nfbtrans.c.orig b/nfbtrans.c +index e697393..9a2944e 100644 +--- a/nfbtrans.c.orig ++++ b/nfbtrans.c +@@ -534,7 +534,7 @@ void compact_line(char *); + void length_error(char *); + void do_lop_op(foptype *); + void do_lop(void); +-void getline(void); ++void nfbtrans_getline(void); + void get_input(char *, int); + int get_paragraph_type(int); + void check_purge(void); +@@ -2585,7 +2585,7 @@ void do_lop() + } + } /* do_lop */ + +-void getline() ++void nfbtrans_getline() + { + int i = -1; + for (;;) +@@ -2722,7 +2722,7 @@ int get_paragraph_type(int mode) + total_lines = 0; + do + { +- getline(); ++ nfbtrans_getline(); + if (linein[0]) + { /* line not empty */ + if (prev_char == '\0') +@@ -2874,7 +2874,7 @@ void get_word() + } /* head */ + else + header_flag = 0; +- getline(); ++ nfbtrans_getline(); + if (remove_page_nums) + remove_page_number(); + if (auto_center) |