From a6f1e190e5905d714593b5e8cb0407dbf5a18c3b Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Mon, 26 May 2014 20:31:28 +0000 Subject: Add print/cups-fxlinuxprint, CUPS filter and PPD files for Fuji Xerox printers ApeosPort-II and DocuCenter-II (DocuPrint) series. --- print/cups-fxlinuxprint/files/patch-fxlinuxprint.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 print/cups-fxlinuxprint/files/patch-fxlinuxprint.c (limited to 'print/cups-fxlinuxprint/files/patch-fxlinuxprint.c') diff --git a/print/cups-fxlinuxprint/files/patch-fxlinuxprint.c b/print/cups-fxlinuxprint/files/patch-fxlinuxprint.c new file mode 100644 index 000000000000..4085eef4a74e --- /dev/null +++ b/print/cups-fxlinuxprint/files/patch-fxlinuxprint.c @@ -0,0 +1,20 @@ +--- fxlinuxprint.c.orig 2006-03-06 15:19:54.000000000 +0900 ++++ fxlinuxprint.c 2014-05-09 10:28:36.000000000 +0900 +@@ -24,7 +24,7 @@ + #include + #define __USE_XOPEN_EXTENDED + #include +-#include ++#include + #include + #include + #include +@@ -517,7 +517,7 @@ + if (opt->job_type == JOB_SECURITY) { + strcat (pjl, PJLSetHoldType); + if (opt->hold_key[0] != 0x00) { +- if (Decode (opt->hold_key, decode_buff, &decode_len)) { ++ if (Decode ((unsigned char *)opt->hold_key, (unsigned char *)decode_buff, &decode_len)) { + decode_buff[decode_len] = 0; + } else { + strcpy (decode_buff, opt->hold_key); -- cgit v1.2.3