diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2014-06-03 17:32:36 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2014-06-03 17:32:36 +0000 |
commit | 72a4fd866a19f4dc6ab4e84defd2e3cc4aa9dbc8 (patch) | |
tree | e073bb8492f4d2747841aa6d609848f2e4a03a78 /print/xfce4-print | |
parent | 54899925cc86195ffef9222e7c22c9e8910d6d10 (diff) | |
download | ports-72a4fd866a19f4dc6ab4e84defd2e3cc4aa9dbc8.tar.gz ports-72a4fd866a19f4dc6ab4e84defd2e3cc4aa9dbc8.zip |
Notes
Diffstat (limited to 'print/xfce4-print')
-rw-r--r-- | print/xfce4-print/Makefile | 2 | ||||
-rw-r--r-- | print/xfce4-print/files/patch-printing-systems__cups__cups.c | 32 |
2 files changed, 33 insertions, 1 deletions
diff --git a/print/xfce4-print/Makefile b/print/xfce4-print/Makefile index ac5b5eb28a50..4a00f9378e18 100644 --- a/print/xfce4-print/Makefile +++ b/print/xfce4-print/Makefile @@ -3,7 +3,7 @@ PORTNAME= xfce4-print PORTVERSION= 4.6.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= print xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR= src/archive/xfprint/${PORTVERSION:R} diff --git a/print/xfce4-print/files/patch-printing-systems__cups__cups.c b/print/xfce4-print/files/patch-printing-systems__cups__cups.c new file mode 100644 index 000000000000..c598add37ed5 --- /dev/null +++ b/print/xfce4-print/files/patch-printing-systems__cups__cups.c @@ -0,0 +1,32 @@ +--- ./printing-systems/cups/cups.c.orig 2009-02-24 21:34:16.000000000 +0000 ++++ ./printing-systems/cups/cups.c 2014-06-03 18:56:42.000000000 +0000 +@@ -23,7 +23,9 @@ + + #include <gmodule.h> + ++#define _IPP_PRIVATE_STRUCTURES 1 + #include <cups/ipp.h> ++#undef _IPP_PRIVATE_STRUCTURES + #include <cups/ppd.h> + #include <cups/cups.h> + #include <cups/language.h> +@@ -133,8 +135,8 @@ + + language = cupsLangDefault (); + request = ippNew (); +- request->request.op.operation_id = operation_id; +- request->request.op.request_id = 1; ++ ippSetOperation(request,operation_id); ++ ippSetRequestId(request,1); + + ippAddString (request, IPP_TAG_OPERATION, IPP_TAG_CHARSET, "attributes-charset", NULL, "utf-8"); + +@@ -242,7 +244,7 @@ + + if (!request) + continue; +- if (request->state == IPP_ERROR || request->state == IPP_IDLE) { ++ if (ippGetState(request) == IPP_ERROR || request->state == IPP_IDLE) { + ippDelete (request); + continue; + } |