* 034_gtkcupsutils_type_fix.patch: type-casting fix from Herbert

Valerio Riedel that allows remote printing. Closes: #448071.
This commit is contained in:
Josselin Mouette
2007-10-31 23:58:03 +00:00
parent 3263915357
commit f74722b10d
3 changed files with 15 additions and 1 deletions

4
debian/changelog vendored
View File

@ -9,8 +9,10 @@ gtk+2.0 (2.12.1-2) UNRELEASED; urgency=low
* 033_treeview_resizing.patch: updated patch from Kristian Rietveld.
* 031_gtksearchenginetracker_fixes.patch: added back, only the name
change was fixed upstream.
* 034_gtkcupsutils_type_fix.patch: type-casting fix from Herbert
Valerio Riedel that allows remote printing. Closes: #448071.
-- Josselin Mouette <joss@debian.org> Wed, 31 Oct 2007 23:05:18 +0100
-- Josselin Mouette <joss@debian.org> Thu, 01 Nov 2007 00:57:30 +0100
gtk+2.0 (2.12.1-1) unstable; urgency=low

View File

@ -0,0 +1,11 @@
--- gtk+2.0-2.12.0/modules/printbackends/cups/gtkcupsutils.c.orig 2007-09-13 22:35:49.000000000 +0200
+++ gtk+2.0-2.12.0/modules/printbackends/cups/gtkcupsutils.c 2007-10-19 12:46:28.000000000 +0200
@@ -622,7 +622,7 @@ _post_send (GtkCupsRequest *request)
if (request->data_io != NULL)
{
fstat (g_io_channel_unix_get_fd (request->data_io), &data_info);
- sprintf (length, "%lu", (unsigned long) ippLength (request->ipp_request) + data_info.st_size);
+ sprintf (length, "%lu", (unsigned long) (ippLength (request->ipp_request) + data_info.st_size));
}
else
sprintf (length, "%lu", (unsigned long) ippLength (request->ipp_request));

View File

@ -12,6 +12,7 @@
030_gtkentry_password-char-circle.patch
031_gtksearchenginetracker_fixes.patch
033_treeview_resizing.patch
034_gtkcupsutils_type_fix.patch
040_filechooser_single-click.patch
041_ia32-libs.patch
060_ignore-random-icons.patch