Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 21 years ago
parent
commit
2f5f2aac29
2 changed files with 75 additions and 0 deletions
  1. +43
    -0
      package/clifford/aop/aop.desc
  2. +32
    -0
      package/clifford/aop/hotfixes.patch

+ 43
- 0
package/clifford/aop/aop.desc

@ -0,0 +1,43 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/clifford/aop/aop.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Ambassador of Pain
[T] Ambassador of Pain is a curses based arcade game for Linux/UNIX with
[T] only 64 lines of sourcecode.
[U] http://aop.raffi.at/
[A] Raffael Himmelreich <raffi@raffi.at>
[A] Clifford Wolf <clifford@clifford.at>
[M] Clifford Wolf <clifford@clifford.at>
[C] extra/game
[L] GPL
[S] Stable
[V] 0.6
[P] X -----5---9 660.000
[D] 0 aop-0.6.tar.gz http://raffi.at/code/aop/

+ 32
- 0
package/clifford/aop/hotfixes.patch

@ -0,0 +1,32 @@
--- ./aop.c.orig 2004-04-06 15:13:28.000000000 +0200
+++ ./aop.c 2004-04-14 22:20:13.847780240 +0200
@@ -21,7 +21,7 @@
init_pair(1, COLOR_RED, COLOR_BLACK);
start: memset(field, ' ', 25*81);
- snprintf(tmp, 96, "/usr/local/share/aop/aop-level-%02d.txt", level);
+ snprintf(tmp, 96, "/usr/share/aop/aop-level-%02d.txt", level);
f = fopen(argc>=2 ? argv[level] : tmp, "r");
if (!f) { endwin(); printf("Can't open level file.\n"); return 1; }
opx=ipx=px=3, opy=ipy=py=2; op=p; p += 700000 + level*373737;
--- ./Makefile.orig 2004-03-19 15:26:46.000000000 +0100
+++ ./Makefile 2004-04-14 22:22:18.401845144 +0200
@@ -1,13 +1,12 @@
-LDFLAGS = -lncurses
-
aop: aop.c
+ $(CC) aop.c -lncurses -o aop
install: aop
- install -d /usr/local/bin
- install -d /usr/local/share/aop
- install -m 755 aop /usr/local/bin/aop
- install -m 644 aop-level-*.txt /usr/local/share/aop/
+ install -d /usr/bin
+ install -d /usr/share/aop
+ install -m 755 aop /usr/bin/aop
+ install -m 644 aop-level-*.txt /usr/share/aop/
clean:
rm -f aop core* *~

Loading…
Cancel
Save