From 467c1b341d932e8c71f7ccdf2a297254b994fc05 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Mon, 8 Jan 2007 03:19:00 +0000 Subject: [PATCH] * Add patch by Eugene Konev to fix xdbedizzy crash (closes: #365291). --- debian/changelog | 6 ++++++ debian/patches/16_xdbedizzy_fix_crash.diff | 17 +++++++++++++++++ debian/patches/series | 1 + 3 files changed, 24 insertions(+) create mode 100644 debian/patches/16_xdbedizzy_fix_crash.diff diff --git a/debian/changelog b/debian/changelog index 3ec5157..0bdb6e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xbase-clients (1:7.1.ds1-2) UNRELEASED; urgency=low + + * Add patch by Eugene Konev to fix xdbedizzy crash (closes: #365291). + + -- Julien Cristau Mon, 8 Jan 2007 02:11:36 +0100 + xbase-clients (1:7.1.ds1-1) unstable; urgency=low * Add patch by Eugene Konev to fix xmore crash (closes: #365292). diff --git a/debian/patches/16_xdbedizzy_fix_crash.diff b/debian/patches/16_xdbedizzy_fix_crash.diff new file mode 100644 index 0000000..a908b15 --- /dev/null +++ b/debian/patches/16_xdbedizzy_fix_crash.diff @@ -0,0 +1,17 @@ +This patch by Eugene Konev. + +See Debian Bug #365291 + +diff a/xdbedizzy/xdbedizzy.c b/xdbedizzy/xdbedizzy.c +--- a/xdbedizzy/xdbedizzy.c Sun Apr 30 13:38:36 2006 +0800 ++++ b/xdbedizzy/xdbedizzy.c Sun Apr 30 13:40:29 2006 +0800 +@@ -701,8 +701,8 @@ int main(int argc, char *argv[]) + /* Obtain some info about page geometry */ + XpGetPageDimensions(dpy, pcontext, &dummy, &dummy, &winrect); + } +-#endif + else ++#endif + { + dpy = XOpenDisplay(display_name); + if (dpy == NULL) { diff --git a/debian/patches/series b/debian/patches/series index 186227f..19d7671 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -13,3 +13,4 @@ pkgconfig_naughtiness -p0 14_SECURITY_setuid.diff 15_xmore_fix_segv_without_xprint.diff -p2 +16_xdbedizzy_fix_crash.diff