summarylogtreecommitdiffstats
path: root/cups.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cups.patch')
-rw-r--r--cups.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/cups.patch b/cups.patch
new file mode 100644
index 000000000000..960d5a331d6c
--- /dev/null
+++ b/cups.patch
@@ -0,0 +1,37 @@
+diff -ur cnijfilter-source-3.60-1/backend/src/cnij_backend_common.c cnijfilter-source-3.60-1_patched/backend/src/cnij_backend_common.c
+--- cnijfilter-source-3.60-1/backend/src/cnij_backend_common.c 2011-02-14 09:27:08.000000000 +0200
++++ cnijfilter-source-3.60-1_patched/backend/src/cnij_backend_common.c 2012-10-28 16:12:56.205438499 +0200
+@@ -38,6 +38,7 @@
+ // CUPS Header
+ #include <cups/cups.h>
+ #include <cups/ipp.h>
++#include <cups/ppd.h>
+
+ // Header file for CANON
+ #include "cnij_backend_common.h"
+diff -ur cnijfilter-source-3.60-1/cngpij/cngpij/bjcups.c cnijfilter-source-3.60-1_patched/cngpij/cngpij/bjcups.c
+--- cnijfilter-source-3.60-1/cngpij/cngpij/bjcups.c 2011-03-22 11:57:29.000000000 +0200
++++ cnijfilter-source-3.60-1_patched/cngpij/cngpij/bjcups.c 2012-10-28 16:12:08.952093361 +0200
+@@ -21,6 +21,7 @@
+ #include <config.h>
+ #endif // HAVE_CONFIG_H
+
++#define _IPP_PRIVATE_STRUCTURES 1
+ #include <cups/cups.h>
+ #include <cups/language.h>
+ #include <cups/ppd.h>
+diff -ur cnijfilter-source-3.60-1/cngpijmon/src/bjcupsmon_cups.c cnijfilter-source-3.60-1_patched/cngpijmon/src/bjcupsmon_cups.c
+--- cnijfilter-source-3.60-1/cngpijmon/src/bjcupsmon_cups.c 2011-03-01 07:52:18.000000000 +0200
++++ cnijfilter-source-3.60-1_patched/cngpijmon/src/bjcupsmon_cups.c 2012-10-28 16:12:09.072093398 +0200
+@@ -18,8 +18,10 @@
+ */
+
+ /*** Includes ***/
++#define _IPP_PRIVATE_STRUCTURES 1
+ #include <cups/cups.h>
+ #include <cups/language.h>
++#include <cups/ppd.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <pwd.h>
+