mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.0 KiB

--- ./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* *~