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.

55 lines
2.1 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/rene/bsd-games/delay_output-sym.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. diff -urN -x '*~' bsd-games-2.14/hack/extern.h bsd-games-2.14-fix/hack/extern.h
  20. --- bsd-games-2.14/hack/extern.h 2003-03-28 11:51:54.000000000 +0100
  21. +++ bsd-games-2.14-fix/hack/extern.h 2003-10-02 03:56:10.000000000 +0200
  22. @@ -511,7 +511,7 @@
  23. void standoutend __P((void));
  24. void backsp __P((void));
  25. void bell __P((void));
  26. -void delay_output __P((void));
  27. +void delay_output_my __P((void));
  28. void cl_eos __P((void));
  29. /* hack.timeout.c */
  30. diff -urN -x '*~' bsd-games-2.14/hack/hack.pri.c bsd-games-2.14-fix/hack/hack.pri.c
  31. --- bsd-games-2.14/hack/hack.pri.c 2003-03-29 13:05:30.000000000 +0100
  32. +++ bsd-games-2.14-fix/hack/hack.pri.c 2003-10-02 03:56:22.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. diff -urN -x '*~' bsd-games-2.14/hack/hack.termcap.c bsd-games-2.14-fix/hack/hack.termcap.c
  43. --- bsd-games-2.14/hack/hack.termcap.c 2003-03-29 13:05:30.000000000 +0100
  44. +++ bsd-games-2.14-fix/hack/hack.termcap.c 2003-10-02 03:56:30.000000000 +0200
  45. @@ -326,7 +326,7 @@
  46. }
  47. void
  48. -delay_output()
  49. +delay_output_my()
  50. {
  51. /* delay 50 ms - could also use a 'nap'-system call */