summarylogtreecommitdiffstats
path: root/cups.patch
blob: 960d5a331d6ca41af90c9faf5ee9a21f4d8b14e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>