diff options
author | William Hubbs <williamh@gentoo.org> | 2009-06-15 21:12:04 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2009-06-15 21:12:04 +0000 |
commit | 2a916fb55f3e3b9c727e04022ca46f3c02a4ecd4 (patch) | |
tree | b0dcbc098309f63b51439d467fb2f0589e1e7a89 /app-accessibility/nfbtrans/files | |
parent | version bump for bug 273714 by Holger Hoffstätte <holger DOT hoffstaette AT ... (diff) | |
download | gentoo-2-2a916fb55f3e3b9c727e04022ca46f3c02a4ecd4.tar.gz gentoo-2-2a916fb55f3e3b9c727e04022ca46f3c02a4ecd4.tar.bz2 gentoo-2-2a916fb55f3e3b9c727e04022ca46f3c02a4ecd4.zip |
nfbtrans should now build with glibc-2.10.
This fixes bug #274243.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'app-accessibility/nfbtrans/files')
-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) |