cnijfilter/cnijfilter-3.70-cups-build.patch

33 lines
1.1 KiB
Diff
Raw Normal View History

diff -Naur a/cngpijmon/src/bjcupsmon_cups.c b/cngpijmon/src/bjcupsmon_cups.c
--- a/cngpijmon/src/bjcupsmon_cups.c 2012-03-17 12:32:43.230805896 +0100
+++ b/cngpijmon/src/bjcupsmon_cups.c 2012-03-17 12:34:23.179018171 +0100
@@ -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>
diff -Naur a/cngpij/cngpij/bjcups.c.orig b/cngpij/cngpij/bjcups.c
--- a/cngpij/cngpij/bjcups.c.orig 2012-07-31 05:22:51.613991808 -0400
+++ b/cngpij/cngpij/bjcups.c 2012-07-31 05:23:14.780658321 -0400
@@ -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>
--- cnijfilter-source-3.60-1.orig/backend/src/cnij_backend_common.c 2011-02-14 10:27:08.000000000 +0300
+++ cnijfilter-source-3.60-1/backend/src/cnij_backend_common.c 2012-08-14 00:56:52.770280251 +0400
@@ -38,6 +38,7 @@
// CUPS Header
#include <cups/cups.h>
#include <cups/ipp.h>
+#include <cups/ppd.h>