aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-09-30 22:42:46 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-09-30 22:42:46 +0000
commit58607cf7a6b40c9cdb94fcb79e92a434ff5a04ec (patch)
tree060ec9c6483ba7915b67ae8445508e4205e313bb /x11-toolkits/gtk30
parentb042a52235f6abb093e67d894f74a481b91588d3 (diff)
downloadports-58607cf7a6b40c9cdb94fcb79e92a434ff5a04ec.tar.gz
ports-58607cf7a6b40c9cdb94fcb79e92a434ff5a04ec.zip
Notes
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r--x11-toolkits/gtk30/Makefile2
-rw-r--r--x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 3550b156cc63..02f312ec599d 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gtk
PORTVERSION= 2.10.14
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \
ftp://ftp.gtk.org/pub/gtk/v2.10/ \
diff --git a/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c b/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c
new file mode 100644
index 000000000000..db213c989555
--- /dev/null
+++ b/x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c
@@ -0,0 +1,13 @@
+--- 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
+@@ -627,9 +627,7 @@ _post_send (GtkCupsRequest *request)
+ httpClearFields(request->http);
+ httpSetField(request->http, HTTP_FIELD_CONTENT_LENGTH, length);
+ httpSetField(request->http, HTTP_FIELD_CONTENT_TYPE, "application/ipp");
+-#ifdef HAVE_HTTP_AUTHSTRING
+- httpSetField(request->http, HTTP_FIELD_AUTHORIZATION, request->http->authstring);
+-#endif
++ httpSetField (request->http, HTTP_FIELD_AUTHORIZATION, httpGetAuthString (request->http));
+
+ if (httpPost(request->http, request->resource))
+ {