Magellan Linux

Contents of /trunk/groff/patches/groff-1.19.1-gcc-4.1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 1696 byte(s)
-import

1 diff -ur ../groff-1.19.1.orig/src/preproc/eqn/box.h src/preproc/eqn/box.h
2 --- ../groff-1.19.1.orig/src/preproc/eqn/box.h 2004-04-17 07:23:30.000000000 +0200
3 +++ src/preproc/eqn/box.h 2006-03-15 23:23:28.000000000 +0100
4 @@ -82,6 +82,10 @@
5 friend box *make_lineup_box(box *);
6 };
7
8 +extern box *make_script_box(box *, box *, box *);
9 +extern box *make_mark_box(box *);
10 +extern box *make_lineup_box(box *);
11 +
12 enum alignment { LEFT_ALIGN, RIGHT_ALIGN, CENTER_ALIGN };
13
14 class column : public box_list {
15 diff -ur ../groff-1.19.1.orig/src/roff/troff/div.h src/roff/troff/div.h
16 --- ../groff-1.19.1.orig/src/roff/troff/div.h 2006-03-15 23:19:12.000000000 +0100
17 +++ src/roff/troff/div.h 2006-03-15 23:15:11.000000000 +0100
18 @@ -56,6 +56,8 @@
19 virtual void copy_file(const char *filename) = 0;
20 };
21
22 +extern void end_diversions();
23 +
24 class macro;
25
26 class macro_diversion : public diversion {
27 diff -ur ../groff-1.19.1.orig/src/roff/troff/env.h src/roff/troff/env.h
28 --- ../groff-1.19.1.orig/src/roff/troff/env.h 2006-03-15 23:19:04.000000000 +0100
29 +++ src/roff/troff/env.h 2006-03-15 23:15:40.000000000 +0100
30 @@ -353,6 +353,8 @@
31 friend void do_divert(int append, int boxing);
32 };
33
34 +extern void title();
35 +
36 extern environment *curenv;
37 extern void pop_env();
38 extern void push_env(int);
39 diff -ur ../groff-1.19.1.orig/src/roff/troff/token.h src/roff/troff/token.h
40 --- ../groff-1.19.1.orig/src/roff/troff/token.h 2006-03-15 23:19:19.000000000 +0100
41 +++ src/roff/troff/token.h 2006-03-15 23:16:02.000000000 +0100
42 @@ -102,6 +102,8 @@
43 friend void process_input_stack();
44 };
45
46 +extern void process_input_stack();
47 +
48 extern token tok; // the current token
49
50 extern symbol get_name(int required = 0);