aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/gtk20/Makefile2
-rw-r--r--x11-toolkits/gtk20/files/patch-modules_printbackends_cups_gtkcupsutils.c13
-rw-r--r--x11-toolkits/gtk30/Makefile2
-rw-r--r--x11-toolkits/gtk30/files/patch-modules_printbackends_cups_gtkcupsutils.c13
4 files changed, 28 insertions, 2 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 3550b156cc6..02f312ec599 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/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/gtk20/files/patch-modules_printbackends_cups_gtkcupsutils.c b/x11-toolkits/gtk20/files/patch-modules_printbackends_cups_gtkcupsutils.c
new file mode 100644
index 00000000000..db213c98955
--- /dev/null
+++ b/x11-toolkits/gtk20/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))
+ {
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 3550b156cc6..02f312ec599 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 00000000000..db213c98955
--- /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))
+ {