summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-02 08:29:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-02 08:29:58 +0000
commitf8f432071b4112a8364fd3acd7657445551f3032 (patch)
tree2b678545b275ac5fff343d06056051c18f2e3323 /games-board/atakks/files
parentremoving stray digest (diff)
downloadgentoo-2-f8f432071b4112a8364fd3acd7657445551f3032.tar.gz
gentoo-2-f8f432071b4112a8364fd3acd7657445551f3032.tar.bz2
gentoo-2-f8f432071b4112a8364fd3acd7657445551f3032.zip
initial commit - ebuild from Alexandru Toma via bug #52665
Diffstat (limited to 'games-board/atakks/files')
-rw-r--r--games-board/atakks/files/1.0-warnings.patch28
-rw-r--r--games-board/atakks/files/digest-atakks-1.01
2 files changed, 29 insertions, 0 deletions
diff --git a/games-board/atakks/files/1.0-warnings.patch b/games-board/atakks/files/1.0-warnings.patch
new file mode 100644
index 000000000000..a27e014d9603
--- /dev/null
+++ b/games-board/atakks/files/1.0-warnings.patch
@@ -0,0 +1,28 @@
+--- main.c.orig 2004-06-02 01:26:00.000000000 -0700
++++ main.c 2004-06-02 01:27:30.000000000 -0700
+@@ -13,6 +13,7 @@
+ #include<SDL/SDL.h>
+ #include<unistd.h>
+ #include<stdlib.h> /* atexit */
++#include<string.h>
+ #include "defs.h"
+ void virus(Uint8 posX, Uint8 posY)
+ {
+@@ -206,7 +207,7 @@
+ int main(int argc, char **argv)
+ {
+ struct move hoho;
+- Uint8 caseX, caseY,selx, sely, checked = 0, canmove = 1;
++ Uint8 caseX, caseY,selx = 0, sely = 0, checked = 0, canmove = 1;
+ SDL_Surface *ico;
+ int pions1=0, pions2=0;
+ if (SDL_Init(SDL_INIT_VIDEO) == -1) {
+@@ -238,7 +239,7 @@
+ argv[0]);
+ #else
+ printf
+- ("\nSyntax: %s OPTIONS\n\n options:\n-h\t\tPrint help\n-t n1 n2\tSet width=n1 and height=n2\n\-ai\t\tActivate 1 player mode, [i] key during game.\n\n",
++ ("\nSyntax: %s OPTIONS\n\n options:\n-h\t\tPrint help\n-t n1 n2\tSet width=n1 and height=n2\n-ai\t\tActivate 1 player mode, [i] key during game.\n\n",
+ argv[0]);
+
+ #endif /* */
diff --git a/games-board/atakks/files/digest-atakks-1.0 b/games-board/atakks/files/digest-atakks-1.0
new file mode 100644
index 000000000000..05599399f57b
--- /dev/null
+++ b/games-board/atakks/files/digest-atakks-1.0
@@ -0,0 +1 @@
+MD5 9153c731620bf85bb60d00a1c93b621e atakks-1.0.tar.gz 62464