Package: gnusound Version: 0.7.5-3 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty ubuntu-patch
Ubuntu http://launchpad.net/bugs/282939 is about gnusound failing to start on many previous releases of Ubuntu. A fix was created by Jon Hornstein which I've applied to the Ubuntu package and it seems to resolve the issue. In Ubuntu, we've applied the attached patch to achieve the following: * Add patch to fix xsession crashes thanks to Jon Hornstein and Aisano (LP: #282939) We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers natty-updates APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-7-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru gnusound-0.7.5/debian/patches/series gnusound-0.7.5/debian/patches/series --- gnusound-0.7.5/debian/patches/series 2010-07-22 16:09:03.000000000 -0700 +++ gnusound-0.7.5/debian/patches/series 2010-11-30 10:57:38.000000000 -0800 @@ -14,3 +14,4 @@ buildsys_datarootdir_ignored ldflags_order maint_ldflags +x_session_crash.diff diff -Nru gnusound-0.7.5/debian/patches/x_session_crash.diff gnusound-0.7.5/debian/patches/x_session_crash.diff --- gnusound-0.7.5/debian/patches/x_session_crash.diff 1969-12-31 16:00:00.000000000 -0800 +++ gnusound-0.7.5/debian/patches/x_session_crash.diff 2010-11-30 10:58:31.000000000 -0800 @@ -0,0 +1,13 @@ +Index: gnusound-0.7.5/src/draw.c +=================================================================== +--- gnusound-0.7.5.orig/src/draw.c 2010-11-30 10:57:46.000000000 -0800 ++++ gnusound-0.7.5/src/draw.c 2010-11-30 10:58:23.000000000 -0800 +@@ -794,7 +794,7 @@ + y2 = y + j * mix_lvl_height + j; + s[1] = '\0'; + if(have_room_for_text) +- snprintf(s, 128, "%d", j + 1); ++ snprintf(s, sizeof(s), "%u", j + 1); + else + s[0] = '-'; +