Hi

Attached is an updated debdiff, which also fixes src/prog/gpm-root.y's 
expectation that uts.release is always made up of 3 components. Linus 
did start out with an empty sublevel definition when bumping the 
version to 3.x - initializing it with zero (3.x.0) is only a temporary 
stopgap to not break existing, but inherently broken, software 
immediately.

This debdiff, which contains the changes made in v1, is loosely based 
upon #632749, #633878, #633880 and several other packages that needed 
fixing.

Regards
        Stefan Lippers-Hollmann
diff -u gpm-1.20.4/debian/gpm.config gpm-1.20.4/debian/gpm.config
--- gpm-1.20.4/debian/gpm.config
+++ gpm-1.20.4/debian/gpm.config
@@ -30,7 +30,7 @@
       db_set gpm/type autops2;;
   esac;
   case $KVER in
-    Linux-2.6*)
+    Linux-2.6*|Linux-[3-9]*)
       # Use the input layer by default.
       # The input layer also makes the gpm repeater rather moot.
       db_set gpm/device /dev/input/mice;
diff -u gpm-1.20.4/debian/patches/series gpm-1.20.4/debian/patches/series
--- gpm-1.20.4/debian/patches/series
+++ gpm-1.20.4/debian/patches/series
@@ -19,0 +20 @@
+090_correctly_parse_shorter_linux_version_numbers.patch
only in patch2:
unchanged:
--- gpm-1.20.4.orig/debian/patches/090_correctly_parse_shorter_linux_version_numbers.patch
+++ gpm-1.20.4/debian/patches/090_correctly_parse_shorter_linux_version_numbers.patch
@@ -0,0 +1,11 @@
+--- a/src/prog/gpm-root.y
++++ b/src/prog/gpm-root.y
+@@ -1161,7 +1161,7 @@ int main(int argc, char **argv)
+    */
+    {
+       struct utsname linux_info;
+-      int v1,v2,v3;
++      int v1=0,v2=0,v3=0;
+       struct stat sbuf;
+ 
+       if (uname(&linux_info)) {

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to