Author: bdefreese
Date: 2009-04-08 15:27:40 +0000 (Wed, 08 Apr 2009)
New Revision: 9485

Added:
   packages/trunk/gravitywars/debian/patches/030_ucase_password.diff
Modified:
   packages/trunk/gravitywars/debian/changelog
   packages/trunk/gravitywars/debian/patches/series
Log:
  * 030_ucase_password.diff - Allow upper case password. (Closes: #522861).
    + Thanks to Steve Cotton for the patch!


Modified: packages/trunk/gravitywars/debian/changelog
===================================================================
--- packages/trunk/gravitywars/debian/changelog 2009-04-08 11:18:44 UTC (rev 
9484)
+++ packages/trunk/gravitywars/debian/changelog 2009-04-08 15:27:40 UTC (rev 
9485)
@@ -7,6 +7,8 @@
   * Don't ignore make clean errors
   * 020_sdl_joystick.diff - Add joystick support. (Closes: #508933).
     + Thanks to Titon Barua for the patch.
+  * 030_ucase_password.diff - Allow upper case password. (Closes: #522861).
+    + Thanks to Steve Cotton for the patch!
   * Version link to GPL license in copyright.
   * Add appropriate copyright holder to debian/copyright.
   * Remove quilt .pc dir on clean.

Added: packages/trunk/gravitywars/debian/patches/030_ucase_password.diff
===================================================================
--- packages/trunk/gravitywars/debian/patches/030_ucase_password.diff           
                (rev 0)
+++ packages/trunk/gravitywars/debian/patches/030_ucase_password.diff   
2009-04-08 15:27:40 UTC (rev 9485)
@@ -0,0 +1,16 @@
+Index: gravitywars-1.102/GravityWars101.c
+===================================================================
+--- gravitywars-1.102.orig/GravityWars101.c    2009-04-08 11:23:43.000000000 
-0400
++++ gravitywars-1.102/GravityWars101.c 2009-04-08 11:25:04.000000000 -0400
+@@ -174,9 +174,9 @@
+     do {
+       n++;
+ #if defined (USE_SDL) && (USE_JOYSTICK)
+-    } while ( (strncmp(arg[optind],codes[n],6)) && (n<99));
++    } while ( (strncasecmp(arg[optind],codes[n],6)) && (n<99));
+ #else
+-    } while ( (strncmp(arg[1],codes[n],6)) && (n<99));
++    } while ( (strncasecmp(arg[1],codes[n],6)) && (n<99));
+ #endif
+ 
+     if (n!=99) {

Modified: packages/trunk/gravitywars/debian/patches/series
===================================================================
--- packages/trunk/gravitywars/debian/patches/series    2009-04-08 11:18:44 UTC 
(rev 9484)
+++ packages/trunk/gravitywars/debian/patches/series    2009-04-08 15:27:40 UTC 
(rev 9485)
@@ -7,3 +7,4 @@
 010_reduce_verbosity.diff
 010_sdl_port.diff
 020_sdl_joystick.diff
+030_ucase_password.diff


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to