From 9cfc7d46e5f91fa85f78494a7253bbc7352f1e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 12 Mar 2008 17:53:58 +0000 Subject: [PATCH] * debian/patches/092_implicit-g-fopen.patch: + Include glib/gstdio.h for g_fopen to prevent crashes on 64 bit architectures. Thanks to Dann Frazier for the patch (Closes: #470665). --- debian/changelog | 8 ++++++++ debian/patches/092_implicit-g-fopen.patch | 13 +++++++++++++ debian/patches/series | 1 + 3 files changed, 22 insertions(+) create mode 100644 debian/patches/092_implicit-g-fopen.patch diff --git a/debian/changelog b/debian/changelog index a7057ee268..3d9b48166b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +gtk+2.0 (2.12.9-2) unstable; urgency=low + + * debian/patches/092_implicit-g-fopen.patch: + + Include glib/gstdio.h for g_fopen to prevent crashes on 64 bit + architectures. Thanks to Dann Frazier for the patch (Closes: #470665). + + -- Sebastian Dröge Wed, 12 Mar 2008 18:52:53 +0100 + gtk+2.0 (2.12.9-1) unstable; urgency=low [ Josselin Mouette ] diff --git a/debian/patches/092_implicit-g-fopen.patch b/debian/patches/092_implicit-g-fopen.patch new file mode 100644 index 0000000000..81b74bd830 --- /dev/null +++ b/debian/patches/092_implicit-g-fopen.patch @@ -0,0 +1,13 @@ +Index: modules/printbackends/cups/gtkprintbackendcups.c +=================================================================== +--- gtk+/modules/printbackends/cups/gtkprintbackendcups.c (Revision 19784) ++++ gtk+/modules/printbackends/cups/gtkprintbackendcups.c (Arbeitskopie) +@@ -36,6 +36,7 @@ + #include + + #include ++#include + #include + + #include + diff --git a/debian/patches/series b/debian/patches/series index fab047b493..48cef0244a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -20,3 +20,4 @@ 070_mandatory-relibtoolize.patch 091_workaround_no_gtk_init_incorrect_display.patch 095_gtk-im-module-setting.patch +092_implicit-g-fopen.patch