aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-01 18:28:29 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-10-01 18:28:29 +0000
commit2ecfe11aadc11e6e8ac172fd9fdb93f4b0a0d314 (patch)
treeea12c6e73318550bd5e976c305e8cbb1d53b07db /x11-toolkits/gtk30
parentb0be2c4d31ec4eb24163d1a44f79caf25ba05bb0 (diff)
downloadports-2ecfe11aadc11e6e8ac172fd9fdb93f4b0a0d314.tar.gz
ports-2ecfe11aadc11e6e8ac172fd9fdb93f4b0a0d314.zip
Notes
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r--x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c b/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c
index db213c989555..612f57b60af0 100644
--- a/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c
+++ b/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c
@@ -1,5 +1,5 @@
---- modules/printbackends/cups/gtkcupsutils.c.orig 2007-09-30 18:40:09.000000000 -0400
-+++ modules/printbackends/cups/gtkcupsutils.c 2007-09-30 18:40:45.000000000 -0400
+--- modules/printbackends/cups/gtkcupsutils.c.orig 2007-07-16 15:45:18.000000000 -0400
++++ modules/printbackends/cups/gtkcupsutils.c 2007-10-01 14:27:17.000000000 -0400
@@ -627,9 +627,7 @@ _post_send (GtkCupsRequest *request)
httpClearFields(request->http);
httpSetField(request->http, HTTP_FIELD_CONTENT_LENGTH, length);
@@ -11,3 +11,14 @@
if (httpPost(request->http, request->resource))
{
+@@ -966,9 +964,7 @@ _get_send (GtkCupsRequest *request)
+ }
+
+ httpClearFields(request->http);
+-#ifdef HAVE_HTTP_AUTHSTRING
+- httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, request->http->authstring);
+-#endif
++ httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, httpGetAuthString (request->http));
+
+ if (httpGet(request->http, request->resource))
+ {