Commits

Raphael Straub authored 764430ef55a
maniview: Update to 2.0.4

Fixes https://trac.macports.org/ticket/57437
No tags

science/maniview/files/patch-maniview.c.diff

Deleted
1 ---- maniview.c.orig 2007-03-21 06:51:51.000000000 -0500
2 -+++ maniview.c 2013-08-08 13:05:10.000000000 -0500
3 -@@ -47,7 +47,7 @@
4 - #include "maniviewhelp.h"
5 - ;
6 -
7 --char *getline(char *s);
8 -+char *maniview_getline(char *s);
9 -
10 - /* globals */
11 - DiscGrp *dg = NULL;
12 -@@ -154,10 +154,10 @@
13 -
14 - if (hf == NULL) {
15 - char *line;
16 -- line = getline(maniviewhelpstr);
17 -+ line = maniview_getline(maniviewhelpstr);
18 - while (line) {
19 - fl_add_browser_line( HelpBrowser, line );
20 -- line = getline(NULL);
21 -+ line = maniview_getline(NULL);
22 - }
23 - fl_set_browser_topline( HelpBrowser, 1 );
24 - } else {
25 -@@ -189,7 +189,7 @@
26 - }
27 - }
28 -
29 --char *getline(char *s)
30 -+char *maniview_getline(char *s)
31 - {
32 - static char *p;
33 - char *first;
34 -@@ -213,13 +213,13 @@
35 - void
36 - gvinit()
37 - {
38 -- extern char *getline();
39 -+ extern char *maniview_getline();
40 - FILE *outf = stdout;
41 - char *line;
42 -- line = getline(gvinitstr);
43 -+ line = maniview_getline(gvinitstr);
44 - while (line) {
45 - fprintf(outf,"%s",line);
46 -- line = getline(NULL);
47 -+ line = maniview_getline(NULL);
48 - }
49 - fflush(outf);
50 - }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut