OpenSDE Packages Database (without history before r20070)
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.

47 lines
1.7 KiB

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