perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / foomatic / filters / patches / gcc-10.patch
blob638b8f3d1d52f439acf513ae1c9c4431669f8f69
1 --- foomatic-filters-4.0.17/foomaticrip.c.orig 2020-05-24 07:33:29.073672991 +0000
2 +++ foomatic-filters-4.0.17/foomaticrip.c 2020-05-24 07:37:21.405068026 +0000
3 @@ -109,7 +109,7 @@
7 -dstr_t *postpipe; /* command into which the output of this filter should be piped */
8 +extern dstr_t *postpipe; /* command into which the output of this filter should be piped */
9 FILE *postpipe_fh = NULL;
11 FILE * open_postpipe()
12 --- foomatic-filters-4.0.17/options.c.orig 2020-05-24 07:32:12.094682850 +0000
13 +++ foomatic-filters-4.0.17/options.c 2020-05-24 07:37:29.885449811 +0000
14 @@ -38,7 +38,7 @@
15 } icc_mapping_entry_t;
17 /* Values from foomatic keywords in the ppd file */
18 -char printer_model [256];
19 +extern char printer_model [256];
20 char printer_id [256];
21 char driver [128];
22 char cmd [4096];
23 @@ -46,7 +46,7 @@
24 dstr_t *postpipe = NULL; /* command into which the output of this
25 filter should be piped */
26 int ps_accounting = 1;
27 -char cupsfilter [256];
28 +extern char cupsfilter [256];
29 int jobentitymaxlen = 0;
30 int userentitymaxlen = 0;
31 int hostentitymaxlen = 0;