diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-08 22:02:03 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-08 22:02:03 +0000 |
commit | adad14d8376521b9bdb5982e08550af1bc711b8a (patch) | |
tree | 0097a55c0ce47a5e11533dd96c410a25a968e568 /sci-visualization/xgraph/files | |
parent | Marking subversion-1.6.4 ppc64 for bug 280494 (diff) | |
download | historical-adad14d8376521b9bdb5982e08550af1bc711b8a.tar.gz historical-adad14d8376521b9bdb5982e08550af1bc711b8a.tar.bz2 historical-adad14d8376521b9bdb5982e08550af1bc711b8a.zip |
Fix building with GLIBC 2.10+ wrt #277574.
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization/xgraph/files')
-rw-r--r-- | sci-visualization/xgraph/files/xgraph-12.1-glibc-2.10.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-visualization/xgraph/files/xgraph-12.1-glibc-2.10.patch b/sci-visualization/xgraph/files/xgraph-12.1-glibc-2.10.patch new file mode 100644 index 000000000000..e2514083c1d4 --- /dev/null +++ b/sci-visualization/xgraph/files/xgraph-12.1-glibc-2.10.patch @@ -0,0 +1,29 @@ +diff -ur xgraph-12.1.orig/dialog.c xgraph-12.1/dialog.c +--- xgraph-12.1.orig/dialog.c 2009-08-09 01:02:01.000000000 +0300 ++++ xgraph-12.1/dialog.c 2009-08-09 01:02:40.000000000 +0300 +@@ -775,7 +775,7 @@ + memset(new_info->lines, 0, sizeof(Window) * E_LINES); + + lineptr = text; +- while (getline(&lineptr, line)) { ++ while (get_line(&lineptr, line)) { + if (new_info->num_lines >= new_info->alloc_lines) { + int old_alloc_lines_size = new_info->alloc_lines * sizeof(Window); + new_info->alloc_lines *= 2; +@@ -886,7 +886,7 @@ + + + int +-getline(tptr, lptr) ++get_line(tptr, lptr) + char **tptr; + char *lptr; + +diff -ur xgraph-12.1.orig/dialog.h xgraph-12.1/dialog.h +--- xgraph-12.1.orig/dialog.h 2009-08-09 01:02:01.000000000 +0300 ++++ xgraph-12.1/dialog.h 2009-08-09 01:02:43.000000000 +0300 +@@ -1,3 +1,3 @@ + extern void msg_box(char *, char *); +-extern int getline(char **, char *); ++extern int get_line(char **, char *); + extern void do_error(char *); |