aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-28 20:55:36 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-12-28 20:55:36 +0000
commit9fd7c5f29ab9be6f9a2beb4704f9d203990ebeb0 (patch)
treecca3bc72bf8290dfda56ebce24eba967eca486a3 /x11-toolkits/gtk20
parentb3f02d2b4a7d315b4a4175b2b4c4dee40955150b (diff)
downloadports-9fd7c5f29ab9be6f9a2beb4704f9d203990ebeb0.tar.gz
ports-9fd7c5f29ab9be6f9a2beb4704f9d203990ebeb0.zip
Notes
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r--x11-toolkits/gtk20/Makefile2
-rw-r--r--x11-toolkits/gtk20/files/patch-modules_printbackends_lpr_gtkprintbackendlpr.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 937047d3b0f9..2ee80b8b9fed 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gtk
PORTVERSION= 2.10.6
-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_lpr_gtkprintbackendlpr.c b/x11-toolkits/gtk20/files/patch-modules_printbackends_lpr_gtkprintbackendlpr.c
new file mode 100644
index 000000000000..c82b4939d122
--- /dev/null
+++ b/x11-toolkits/gtk20/files/patch-modules_printbackends_lpr_gtkprintbackendlpr.c
@@ -0,0 +1,11 @@
+--- modules/printbackends/lpr/gtkprintbackendlpr.c.orig Wed Dec 27 21:25:12 2006
++++ modules/printbackends/lpr/gtkprintbackendlpr.c Wed Dec 27 21:14:47 2006
+@@ -372,6 +372,8 @@ gtk_print_backend_lpr_print_stream (GtkP
+ goto out;
+ }
+
++ g_io_channel_set_close_on_unref (ps->in, TRUE);
++
+ g_io_add_watch (data_io,
+ G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP,
+ (GIOFunc) lpr_write,