summarylogtreecommitdiffstats
path: root/cups.patch
diff options
context:
space:
mode:
authorLopo2015-06-17 20:07:06 +0200
committerLopo2015-06-17 20:07:06 +0200
commit29d706eb65d8e7ac63d92e628a69fd937260164d (patch)
treed1663bb9c4b29734d6c6af4d569376f496581c62 /cups.patch
downloadaur-cnijfilter-mg6200.tar.gz
Initial import
Diffstat (limited to 'cups.patch')
-rw-r--r--cups.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/cups.patch b/cups.patch
new file mode 100644
index 00000000000..997b1fe15e5
--- /dev/null
+++ b/cups.patch
@@ -0,0 +1,36 @@
+diff -aur old/backend/src/cnij_backend_common.c new/backend/src/cnij_backend_common.c
+--- old/backend/src/cnij_backend_common.c 2011-02-14 08:27:08.000000000 +0100
++++ new/backend/src/cnij_backend_common.c 2012-09-08 16:50:14.118801365 +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 -aur old/cngpij/cngpij/bjcups.c new/cngpij/cngpij/bjcups.c
+--- old/cngpij/cngpij/bjcups.c 2011-03-22 10:57:29.000000000 +0100
++++ new/cngpij/cngpij/bjcups.c 2012-09-08 16:48:34.042128877 +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 -aur old/cngpijmon/src/bjcupsmon_cups.c new/cngpijmon/src/bjcupsmon_cups.c
+--- old/cngpijmon/src/bjcupsmon_cups.c 2011-03-01 06:52:18.000000000 +0100
++++ new/cngpijmon/src/bjcupsmon_cups.c 2012-09-08 16:49:30.332132152 +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>