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.

51 lines
1.9 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/clifford/aop/hotfixes.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./aop.c.orig 2004-04-06 15:13:28.000000000 +0200
  20. +++ ./aop.c 2004-04-14 22:20:13.847780240 +0200
  21. @@ -21,7 +21,7 @@
  22. init_pair(1, COLOR_RED, COLOR_BLACK);
  23. start: memset(field, ' ', 25*81);
  24. - snprintf(tmp, 96, "/usr/local/share/aop/aop-level-%02d.txt", level);
  25. + snprintf(tmp, 96, "/usr/share/aop/aop-level-%02d.txt", level);
  26. f = fopen(argc>=2 ? argv[level] : tmp, "r");
  27. if (!f) { endwin(); printf("Can't open level file.\n"); return 1; }
  28. opx=ipx=px=3, opy=ipy=py=2; op=p; p += 700000 + level*373737;
  29. --- ./Makefile.orig 2004-03-19 15:26:46.000000000 +0100
  30. +++ ./Makefile 2004-04-14 22:22:18.401845144 +0200
  31. @@ -1,13 +1,12 @@
  32. -LDFLAGS = -lncurses
  33. -
  34. aop: aop.c
  35. + $(CC) aop.c -lncurses -o aop
  36. install: aop
  37. - install -d /usr/local/bin
  38. - install -d /usr/local/share/aop
  39. - install -m 755 aop /usr/local/bin/aop
  40. - install -m 644 aop-level-*.txt /usr/local/share/aop/
  41. + install -d /usr/bin
  42. + install -d /usr/share/aop
  43. + install -m 755 aop /usr/bin/aop
  44. + install -m 644 aop-level-*.txt /usr/share/aop/
  45. clean:
  46. rm -f aop core* *~