]> git.pld-linux.org Git - packages/texlive.git/blob - texlive-no-common.patch
- added no-common patch (fix build with -fno-common, gcc 10 default)
[packages/texlive.git] / texlive-no-common.patch
1 --- texlive-20080816-source/texk/ttf2pk/pklib.c.orig    2020-10-01 21:54:57.655974958 +0200
2 +++ texlive-20080816-source/texk/ttf2pk/pklib.c 2020-10-02 15:47:49.597242228 +0200
3 @@ -60,7 +60,7 @@
4  #define PK_POST (char)245
5  #define PK_NOP  (char)246
6  
7 -int dpi;
8 +static int dpi;
9  
10  FILE *pk_file;
11  
12 @@ -69,32 +69,32 @@
13   *   Information from the .tfm file.
14   */
15  
16 -int tfm_lengths[12];
17 +static int tfm_lengths[12];
18  
19  #define lh tfm_lengths[1]
20  #define bc tfm_lengths[2]
21  #define ec tfm_lengths[3]
22  #define nw tfm_lengths[4]
23  
24 -long checksum;
25 -long design;
26 -byte width_index[256];
27 -long tfm_widths[256];
28 +static long checksum;
29 +static long design;
30 +static byte width_index[256];
31 +static long tfm_widths[256];
32  
33  /*
34   *   Information on the bitmap currently being worked on.
35   */
36  
37 -byte   *bitmap;
38 -int    width;
39 -int    skip;
40 -int    height;
41 -int    hoff;
42 -int    voff;
43 -int    bytes_wide;
44 -size_t bm_size;
45 -byte   *bitmap_end;
46 -int    pk_len;
47 +static byte   *bitmap;
48 +static int    width;
49 +static int    skip;
50 +static int    height;
51 +static int    hoff;
52 +static int    voff;
53 +static int    bytes_wide;
54 +static size_t bm_size;
55 +static byte   *bitmap_end;
56 +static int    pk_len;
57  
58  /*
59   *   Here's the path searching stuff.  First the typedefs and variables.
60 --- texlive-20080816-source/texk/ttf2pk/ttflib.c.orig   2020-10-01 21:54:57.659308273 +0200
61 +++ texlive-20080816-source/texk/ttf2pk/ttflib.c        2020-10-02 15:49:35.973332606 +0200
62 @@ -44,38 +44,38 @@
63  #define FEATURE_vert MAKE_TT_TAG('v', 'e', 'r', 't')
64  
65  
66 -TT_Engine   engine;
67 -TT_Face     face;
68 -TT_Instance instance;
69 -TT_Glyph    glyph;
70 -TT_CharMap  char_map;
71 +static TT_Engine   engine;
72 +static TT_Face     face;
73 +static TT_Instance instance;
74 +static TT_Glyph    glyph;
75 +static TT_CharMap  char_map;
76  
77 -TT_Outline         outline;
78 -TT_Face_Properties properties;
79 -TT_BBox            bbox;
80 +static TT_Outline         outline;
81 +static TT_Face_Properties properties;
82 +static TT_BBox            bbox;
83  
84 -TT_Post post;
85 +static TT_Post post;
86  
87 -TT_Raster_Map Bit, Bit2;
88 -void          *Bitp, *Bit2p;
89 +static TT_Raster_Map Bit, Bit2;
90 +static void          *Bitp, *Bit2p;
91  
92 -int dpi;
93 -int ptsize;
94 +static int dpi;
95 +static int ptsize;
96  
97 -int x_offset, y_offset;
98 -int ppem;
99 +static int x_offset, y_offset;
100 +static int ppem;
101  
102 -TT_Big_Glyph_Metrics metrics;
103 +static TT_Big_Glyph_Metrics metrics;
104  
105 -TT_Matrix matrix1, matrix2;
106 +static TT_Matrix matrix1, matrix2;
107  
108 -TTO_GSUBHeader  gsub_;
109 -TTO_GSUBHeader  *gsub;
110 +static TTO_GSUBHeader  gsub_;
111 +static TTO_GSUBHeader  *gsub;
112  
113 -TT_UShort in_string[2];
114 -TTO_GSUB_String in, out;
115 +static TT_UShort in_string[2];
116 +static TTO_GSUB_String in, out;
117  
118 -Boolean has_gsub;
119 +static Boolean has_gsub;
120  
121  
122  static void  
This page took 0.156162 seconds and 3 git commands to generate.