Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132685406
D26164.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D26164.id.diff
View Options
Index: head/print/foomatic-filters/files/patch-foomaticrip.c
===================================================================
--- head/print/foomatic-filters/files/patch-foomaticrip.c
+++ head/print/foomatic-filters/files/patch-foomaticrip.c
@@ -1,6 +1,15 @@
--- foomaticrip.c.orig 2012-07-02 14:50:46 UTC
+++ foomaticrip.c
-@@ -180,7 +180,7 @@ char cupsfilterpath[PATH_MAX] = "/usr/lo
+@@ -109,7 +109,7 @@ jobparams_t * get_current_job()
+ }
+
+
+-dstr_t *postpipe; /* command into which the output of this filter should be piped */
++dstr_t *postpipe = NULL; /* command into which the output of this filter should be piped */
+ FILE *postpipe_fh = NULL;
+
+ FILE * open_postpipe()
+@@ -180,7 +180,7 @@ char cupsfilterpath[PATH_MAX] = "/usr/local/lib/cups/f
"/opt/cups/filter:"
"/usr/lib/cups/filter";
@@ -9,7 +18,7 @@
void config_set_option(const char *key, const char *value)
{
-@@ -1061,7 +1061,7 @@ int print_file(const char *filename, int
+@@ -1061,7 +1061,7 @@ int print_file(const char *filename, int convert)
Ghostscript is not available. */
if (spooler == SPOOLER_CUPS)
snprintf(pdf2ps_cmd, PATH_MAX,
Index: head/print/foomatic-filters/files/patch-options.c
===================================================================
--- head/print/foomatic-filters/files/patch-options.c
+++ head/print/foomatic-filters/files/patch-options.c
@@ -0,0 +1,21 @@
+--- options.c.orig 2012-07-02 14:50:46 UTC
++++ options.c
+@@ -38,15 +38,15 @@ typedef struct icc_mapping_entry_s {
+ } icc_mapping_entry_t;
+
+ /* Values from foomatic keywords in the ppd file */
+-char printer_model [256];
++extern char printer_model [256];
+ char printer_id [256];
+ char driver [128];
+ char cmd [4096];
+ char cmd_pdf [4096];
+-dstr_t *postpipe = NULL; /* command into which the output of this
++extern dstr_t *postpipe; /* command into which the output of this
+ filter should be piped */
+ int ps_accounting = 1;
+-char cupsfilter [256];
++extern char cupsfilter [256];
+ int jobentitymaxlen = 0;
+ int userentitymaxlen = 0;
+ int hostentitymaxlen = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 20, 1:12 AM (1 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23932830
Default Alt Text
D26164.id.diff (2 KB)
Attached To
Mode
D26164: print/foomatic-filters: Fix build with -fno-common
Attached
Detach File
Event Timeline
Log In to Comment