r10563 - in packages/trunk/invaders/debian: . patches

Fabian Greffrath fabian-guest at alioth.debian.org
Mon Nov 30 09:27:24 UTC 2009


Author: fabian-guest
Date: 2009-11-30 09:27:23 +0000 (Mon, 30 Nov 2009)
New Revision: 10563

Modified:
   packages/trunk/invaders/debian/changelog
   packages/trunk/invaders/debian/patches/01-pointer-targets-differ-in-signedness.patch
   packages/trunk/invaders/debian/patches/02-gcc-ldflags.patch
   packages/trunk/invaders/debian/patches/03-reboot-on-esc.patch
Log:
  * Refreshed all patches.
  * debian/patches/03-reboot-on-esc.patch: Only reboot when the ESC key
    is pressed in-game, not during the GAME OVER screen.



Modified: packages/trunk/invaders/debian/changelog
===================================================================
--- packages/trunk/invaders/debian/changelog	2009-11-30 03:17:33 UTC (rev 10562)
+++ packages/trunk/invaders/debian/changelog	2009-11-30 09:27:23 UTC (rev 10563)
@@ -1,3 +1,11 @@
+invaders (1.0.0-11) unstable; urgency=low
+
+  * Refreshed all patches.
+  * debian/patches/03-reboot-on-esc.patch: Only reboot when the ESC key
+    is pressed in-game, not during the GAME OVER screen.
+
+ -- Fabian Greffrath <fabian at debian-unofficial.org>  Mon, 30 Nov 2009 10:26:27 +0100
+
 invaders (1.0.0-10) unstable; urgency=low
 
   [ Stefan Potyra ]

Modified: packages/trunk/invaders/debian/patches/01-pointer-targets-differ-in-signedness.patch
===================================================================
--- packages/trunk/invaders/debian/patches/01-pointer-targets-differ-in-signedness.patch	2009-11-30 03:17:33 UTC (rev 10562)
+++ packages/trunk/invaders/debian/patches/01-pointer-targets-differ-in-signedness.patch	2009-11-30 09:27:23 UTC (rev 10563)
@@ -1,7 +1,7 @@
 Use (char *) instead of (uint8 *) and fix a spelling error.
 
---- invaders.orig/video.c
-+++ invaders/video.c
+--- invaders-1.0.0.orig/video.c
++++ invaders-1.0.0/video.c
 @@ -36,7 +36,7 @@
    video_putchar(x+1,y,hextab[hex&15]);
  };
@@ -11,8 +11,8 @@
  {
    while (*str) video_putchar(x++,y,*(str++));
  };
---- invaders.orig/video.h
-+++ invaders/video.h
+--- invaders-1.0.0.orig/video.h
++++ invaders-1.0.0/video.h
 @@ -8,7 +8,7 @@
  void video_putchar(int32 x, int32 y, uint8 code);
  void video_fill(int32 x, int32 y, int32 width, int32 height, uint8 code);
@@ -22,8 +22,8 @@
  
  // immediate effect
  void video_update();
---- invaders.orig/game.c
-+++ invaders/game.c
+--- invaders-1.0.0.orig/game.c
++++ invaders-1.0.0/game.c
 @@ -198,7 +198,7 @@
  
    video_usecolor(6,1);

Modified: packages/trunk/invaders/debian/patches/02-gcc-ldflags.patch
===================================================================
--- packages/trunk/invaders/debian/patches/02-gcc-ldflags.patch	2009-11-30 03:17:33 UTC (rev 10562)
+++ packages/trunk/invaders/debian/patches/02-gcc-ldflags.patch	2009-11-30 09:27:23 UTC (rev 10563)
@@ -1,9 +1,7 @@
 Support for building on amd64 and fix an incompatibility with newer gcc and binutils.
 
-Index: invaders-1.0.0/compile.sh
-===================================================================
---- invaders-1.0.0.orig/compile.sh	2001-05-21 22:26:46.000000000 +0200
-+++ invaders-1.0.0/compile.sh	2009-10-30 21:52:57.000000000 +0100
+--- invaders-1.0.0.orig/compile.sh
++++ invaders-1.0.0/compile.sh
 @@ -3,8 +3,8 @@
  set -e
  set -v

Modified: packages/trunk/invaders/debian/patches/03-reboot-on-esc.patch
===================================================================
--- packages/trunk/invaders/debian/patches/03-reboot-on-esc.patch	2009-11-30 03:17:33 UTC (rev 10562)
+++ packages/trunk/invaders/debian/patches/03-reboot-on-esc.patch	2009-11-30 09:27:23 UTC (rev 10563)
@@ -24,12 +24,14 @@
  void resetgame()
  {
    gameover=false;
-@@ -120,6 +128,9 @@
+@@ -120,6 +128,11 @@
        break;
      case 'x':
        return;
 +    case '@':
-+      reboot();
++      if (pressed) {
++        reboot();
++      }
 +      break;
      };
    };




More information about the Pkg-games-commits mailing list