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.

64 lines
2.2 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/base/bsd-games/delay_output-sym.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 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. diff -ruN bsd-games-2.16/hack/extern.h bsd-games-2.16-new/hack/extern.h
  20. --- bsd-games-2.16/hack/extern.h 2004-01-27 21:51:11.000000000 +0100
  21. +++ bsd-games-2.16-new/hack/extern.h 2005-05-17 23:16:15.000000000 +0200
  22. @@ -511,7 +511,7 @@
  23. void standoutend(void);
  24. void backsp(void);
  25. void bell(void);
  26. -void delay_output(void);
  27. +void delay_output_my(void);
  28. void cl_eos(void);
  29. /* hack.timeout.c */
  30. diff -ruN bsd-games-2.16/hack/hack.pri.c bsd-games-2.16-new/hack/hack.pri.c
  31. --- bsd-games-2.16/hack/hack.pri.c 2004-01-26 03:08:30.000000000 +0100
  32. +++ bsd-games-2.16-new/hack/hack.pri.c 2005-05-17 23:16:15.000000000 +0200
  33. @@ -171,7 +171,7 @@
  34. return;
  35. }
  36. if (prevx >= 0 && cansee(prevx, prevy)) {
  37. - delay_output();
  38. + delay_output_my();
  39. prl(prevx, prevy); /* in case there was a monster */
  40. at(prevx, prevy, levl[prevx][prevy].scrsym);
  41. }
  42. @@ -218,7 +218,7 @@
  43. /* normal call */
  44. if (cansee(x, y)) {
  45. if (cnt)
  46. - delay_output();
  47. + delay_output_my();
  48. at(x, y, let);
  49. tc[cnt].x = x;
  50. tc[cnt].y = y;
  51. diff -ruN bsd-games-2.16/hack/hack.termcap.c bsd-games-2.16-new/hack/hack.termcap.c
  52. --- bsd-games-2.16/hack/hack.termcap.c 2003-12-17 03:46:37.000000000 +0100
  53. +++ bsd-games-2.16-new/hack/hack.termcap.c 2005-05-17 23:16:15.000000000 +0200
  54. @@ -326,7 +326,7 @@
  55. }
  56. void
  57. -delay_output()
  58. +delay_output_my()
  59. {
  60. /* delay 50 ms - could also use a 'nap'-system call */