summaryrefslogtreecommitdiff
path: root/graphics/gplot/files/patch-cgm.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gplot/files/patch-cgm.c')
-rw-r--r--graphics/gplot/files/patch-cgm.c114
1 files changed, 114 insertions, 0 deletions
diff --git a/graphics/gplot/files/patch-cgm.c b/graphics/gplot/files/patch-cgm.c
new file mode 100644
index 000000000000..0c6de4633a5c
--- /dev/null
+++ b/graphics/gplot/files/patch-cgm.c
@@ -0,0 +1,114 @@
+--- cgm.c.orig Thu Jul 18 02:21:55 1991
++++ cgm.c Sat Jun 16 03:01:14 2007
+@@ -2,7 +2,111 @@
+ /* all rights reserved */
+ /* module to take care of command processing */
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include "defs.h" /* type definitions */
++
++static class0();
++static class1();
++static class2();
++static class3();
++static class4();
++static class5();
++static class6();
++static class7();
++static f_b_mf();
++static f_e_mf();
++static f_b_p();
++static f_b_p_body();
++static f_e_pic();
++static rd_mf_version();
++static rd_mf_descriptor();
++static s_vdc_type();
++static s_int_prec();
++static s_real_prec();
++static s_index_prec();
++static s_col_prec();
++static s_cind_prec();
++static s_cvextent();
++static s_mcind();
++static do_mcind();
++static rd_mf_list();
++static s_mf_defs();
++static do_font_list();
++static do_char_list();
++static do_cannounce();
++static s_scalmode();
++static s_c_s_mode();
++static s_lws_mode();
++static s_ms_mode();
++static s_ew_mode();
++static s_vdc_extent();
++static s_back_col();
++static s_vdc_i_p();
++static s_vdc_r_p();
++static s_aux_col();
++static s_transp();
++static s_clip_rec();
++static s_clip_ind();
++static do_polyline();
++static do_dis_polyline();
++static do_polymarker();
++static s_text();
++static s_rex_text();
++static s_app_text();
++static do_polygon();
++static do_polyset();
++static do_cell_array();
++static do_g_d_p();
++static do_rectangle();
++static do_circle();
++static do_c3();
++static do_c3_close();
++static do_c3_centre();
++static do_c_centre();
++static do_c_c_close();
++static do_ellipse();
++static do_ell_arc();
++static do_e_a_close();
++static s_lbindex();
++static s_l_type();
++static s_l_width();
++static s_l_colour();
++static s_mbindex();
++static s_mk_type();
++static s_mk_size();
++static s_mk_colour();
++static s_tbindex();
++static s_t_index();
++static s_t_prec();
++static s_c_exp();
++static s_c_space();
++static s_t_colour();
++static s_c_height();
++static s_c_orient();
++static s_tpath();
++static s_t_align();
++static s_csindex();
++static s_acsindex();
++static s_fbindex();
++static s_interior_style();
++static s_fill_colour();
++static s_hindex();
++static s_pindex();
++static s_e_b_index();
++static s_edge_t();
++static s_edge_w();
++static s_edge_c();
++static s_edge_v();
++static s_fill_ref();
++static p_tab_entry();
++static s_pat_size();
++static c_tab_entry();
++static do_aspsflags();
++static do_escape();
++static read_index();
++static do_message();
++static do_apdata();
+
+ /* global pointers that use storage from the main program */
+